summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-04-29 04:06:57 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-04-29 04:06:57 +0200
commitadb1ed5a953fe3edf8c39c1949bcdc140041d85a (patch)
treef8a51abb0fb79b5ee0adbcd49f39949504eece65
parentMerge "Fix clang-analyzer-core.uninitialized.Branch warnings" am: 4466170559 am: 21ff0aa9a8 (diff)
parentMerge "Allos IsUsbConnected() to be overridden" am: 54e28fed8a (diff)
downloadandroid_bootable_recovery-adb1ed5a953fe3edf8c39c1949bcdc140041d85a.tar
android_bootable_recovery-adb1ed5a953fe3edf8c39c1949bcdc140041d85a.tar.gz
android_bootable_recovery-adb1ed5a953fe3edf8c39c1949bcdc140041d85a.tar.bz2
android_bootable_recovery-adb1ed5a953fe3edf8c39c1949bcdc140041d85a.tar.lz
android_bootable_recovery-adb1ed5a953fe3edf8c39c1949bcdc140041d85a.tar.xz
android_bootable_recovery-adb1ed5a953fe3edf8c39c1949bcdc140041d85a.tar.zst
android_bootable_recovery-adb1ed5a953fe3edf8c39c1949bcdc140041d85a.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);