summaryrefslogtreecommitdiffstats
path: root/recovery_ui
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-04-29 04:20:09 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-04-29 04:20:09 +0200
commit5589ec0b3bcd321cb109b663f7b374b0bd3a40e8 (patch)
treef8a51abb0fb79b5ee0adbcd49f39949504eece65 /recovery_ui
parentMerge "Fix clang-analyzer-core.uninitialized.Branch warnings" am: 4466170559 am: 21ff0aa9a8 am: 39004966a3 (diff)
parentMerge "Allos IsUsbConnected() to be overridden" am: 54e28fed8a am: bc3a63e4a4 (diff)
downloadandroid_bootable_recovery-5589ec0b3bcd321cb109b663f7b374b0bd3a40e8.tar
android_bootable_recovery-5589ec0b3bcd321cb109b663f7b374b0bd3a40e8.tar.gz
android_bootable_recovery-5589ec0b3bcd321cb109b663f7b374b0bd3a40e8.tar.bz2
android_bootable_recovery-5589ec0b3bcd321cb109b663f7b374b0bd3a40e8.tar.lz
android_bootable_recovery-5589ec0b3bcd321cb109b663f7b374b0bd3a40e8.tar.xz
android_bootable_recovery-5589ec0b3bcd321cb109b663f7b374b0bd3a40e8.tar.zst
android_bootable_recovery-5589ec0b3bcd321cb109b663f7b374b0bd3a40e8.zip
Diffstat (limited to 'recovery_ui')
-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);