summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlistair Delva <adelva@google.com>2020-04-29 02:21:12 +0200
committerAlistair Delva <adelva@google.com>2020-04-29 02:21:14 +0200
commit0e18779d63ab03eaeb7bc2ea0ca5f7457dc710fb (patch)
tree3d602e5d8730c9f2e94029fb3f9d6cc179f5ffb4
parentMerge "Fix clang-analyzer-core.uninitialized.Branch warnings" (diff)
downloadandroid_bootable_recovery-0e18779d63ab03eaeb7bc2ea0ca5f7457dc710fb.tar
android_bootable_recovery-0e18779d63ab03eaeb7bc2ea0ca5f7457dc710fb.tar.gz
android_bootable_recovery-0e18779d63ab03eaeb7bc2ea0ca5f7457dc710fb.tar.bz2
android_bootable_recovery-0e18779d63ab03eaeb7bc2ea0ca5f7457dc710fb.tar.lz
android_bootable_recovery-0e18779d63ab03eaeb7bc2ea0ca5f7457dc710fb.tar.xz
android_bootable_recovery-0e18779d63ab03eaeb7bc2ea0ca5f7457dc710fb.tar.zst
android_bootable_recovery-0e18779d63ab03eaeb7bc2ea0ca5f7457dc710fb.zip
-rw-r--r--recovery_ui/include/recovery_ui/ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery_ui/include/recovery_ui/ui.h b/recovery_ui/include/recovery_ui/ui.h
index 08ec1d76a..512732f90 100644
--- a/recovery_ui/include/recovery_ui/ui.h
+++ b/recovery_ui/include/recovery_ui/ui.h
@@ -192,6 +192,8 @@ class RecoveryUI {
return key_interrupted_;
}
+ virtual bool IsUsbConnected();
+
protected:
void EnqueueKey(int key_code);
@@ -226,8 +228,6 @@ class RecoveryUI {
void ProcessKey(int key_code, int updown);
void TimeKey(int key_code, int count);
- bool IsUsbConnected();
-
bool InitScreensaver();
void SetScreensaverState(ScreensaverState state);