summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-04-29 03:35:34 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-04-29 03:35:34 +0200
commit54e28fed8ac029b884da1cf652ad24601eee2d8e (patch)
tree3d602e5d8730c9f2e94029fb3f9d6cc179f5ffb4
parentMerge "Fix clang-analyzer-core.uninitialized.Branch warnings" (diff)
parentAllos IsUsbConnected() to be overridden (diff)
downloadandroid_bootable_recovery-54e28fed8ac029b884da1cf652ad24601eee2d8e.tar
android_bootable_recovery-54e28fed8ac029b884da1cf652ad24601eee2d8e.tar.gz
android_bootable_recovery-54e28fed8ac029b884da1cf652ad24601eee2d8e.tar.bz2
android_bootable_recovery-54e28fed8ac029b884da1cf652ad24601eee2d8e.tar.lz
android_bootable_recovery-54e28fed8ac029b884da1cf652ad24601eee2d8e.tar.xz
android_bootable_recovery-54e28fed8ac029b884da1cf652ad24601eee2d8e.tar.zst
android_bootable_recovery-54e28fed8ac029b884da1cf652ad24601eee2d8e.zip
Diffstat (limited to '')
-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);