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