diff options
author | Elliott Hughes <enh@google.com> | 2015-04-10 15:00:34 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-04-10 15:14:35 -0700 |
commit | 4af215b2c35b41e983753256ad6dbebbf879c982 (patch) | |
tree | f327758d07cdb58a8e4a06f236f82f8df9515992 /ui.h | |
parent | 51697d2781501c30d8db6d2a8e6c2becebcffad8 (diff) | |
download | bootable_recovery-4af215b2c35b41e983753256ad6dbebbf879c982.zip bootable_recovery-4af215b2c35b41e983753256ad6dbebbf879c982.tar.gz bootable_recovery-4af215b2c35b41e983753256ad6dbebbf879c982.tar.bz2 |
Auto-detect whether to use the long-press UI.
Change-Id: Ie77a5584e301467c6a5e164d2c62d6f036b2c0c0
Diffstat (limited to 'ui.h')
-rw-r--r-- | ui.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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(); |