summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-11 00:36:42 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-11 00:36:42 +0200
commit34bbc7d49a4f0578798d039fc16369b1a6ea16bd (patch)
treef327758d07cdb58a8e4a06f236f82f8df9515992 /ui.h
parentam 51697d27: Merge "Switch minadb over to C++." (diff)
parentMerge "Auto-detect whether to use the long-press UI." (diff)
downloadandroid_bootable_recovery-34bbc7d49a4f0578798d039fc16369b1a6ea16bd.tar
android_bootable_recovery-34bbc7d49a4f0578798d039fc16369b1a6ea16bd.tar.gz
android_bootable_recovery-34bbc7d49a4f0578798d039fc16369b1a6ea16bd.tar.bz2
android_bootable_recovery-34bbc7d49a4f0578798d039fc16369b1a6ea16bd.tar.lz
android_bootable_recovery-34bbc7d49a4f0578798d039fc16369b1a6ea16bd.tar.xz
android_bootable_recovery-34bbc7d49a4f0578798d039fc16369b1a6ea16bd.tar.zst
android_bootable_recovery-34bbc7d49a4f0578798d039fc16369b1a6ea16bd.zip
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index 0d5ab557d..c5c65c247 100644
--- a/ui.h
+++ b/ui.h
@@ -75,6 +75,10 @@ class RecoveryUI {
virtual bool IsKeyPressed(int key);
virtual bool IsLongPress();
+ // Returns true if you have the volume up/down and power trio typical
+ // of phones and tablets, false otherwise.
+ virtual bool HasThreeButtons();
+
// Erase any queued-up keys.
virtual void FlushKeys();