aboutsummaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-10 10:01:53 -0700
committerElliott Hughes <enh@google.com>2015-04-10 10:01:53 -0700
commitec28340cf3af1029a00db1c83d78d14e8798e245 (patch)
tree9cd50e1cce726c3a32b440012f09d63825cfcbee /ui.h
parent18eaa0cfe7aa775546369de829a1ff3049cf82a5 (diff)
downloadbootable_recovery-ec28340cf3af1029a00db1c83d78d14e8798e245.zip
bootable_recovery-ec28340cf3af1029a00db1c83d78d14e8798e245.tar.gz
bootable_recovery-ec28340cf3af1029a00db1c83d78d14e8798e245.tar.bz2
Move "Mount /system" to the main menu.
Everyone's adding secret key combinations for this anyway, and it's very useful when debugging. Change-Id: Iad549452b872a7af963dd649f283ebcd3ea24234
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui.h b/ui.h
index 3b21774..bc728b0 100644
--- a/ui.h
+++ b/ui.h
@@ -81,7 +81,7 @@ class RecoveryUI {
// Return value indicates whether an immediate operation should be
// triggered (toggling the display, rebooting the device), or if
// the key should be enqueued for use by the main thread.
- enum KeyAction { ENQUEUE, TOGGLE, REBOOT, IGNORE, MOUNT_SYSTEM };
+ enum KeyAction { ENQUEUE, TOGGLE, REBOOT, IGNORE };
virtual KeyAction CheckKey(int key);
// Called immediately before each call to CheckKey(), tell you if
@@ -134,7 +134,6 @@ private:
int rel_sum;
int consecutive_power_keys;
- int consecutive_alternate_keys;
int last_key;
typedef struct {