aboutsummaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorElliott Hughes2015-04-10 12:01:53 -0500
committerElliott Hughes2015-04-10 12:01:53 -0500
commitec28340cf3af1029a00db1c83d78d14e8798e245 (patch)
tree9cd50e1cce726c3a32b440012f09d63825cfcbee /ui.h
parent18eaa0cfe7aa775546369de829a1ff3049cf82a5 (diff)
downloadplatform-bootable-recovery-ec28340cf3af1029a00db1c83d78d14e8798e245.tar.gz
platform-bootable-recovery-ec28340cf3af1029a00db1c83d78d14e8798e245.tar.xz
platform-bootable-recovery-ec28340cf3af1029a00db1c83d78d14e8798e245.zip
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 3b217745..bc728b05 100644
--- a/ui.h
+++ b/ui.h
@@ -81,7 +81,7 @@ class RecoveryUI {
81 // Return value indicates whether an immediate operation should be 81 // Return value indicates whether an immediate operation should be
82 // triggered (toggling the display, rebooting the device), or if 82 // triggered (toggling the display, rebooting the device), or if
83 // the key should be enqueued for use by the main thread. 83 // the key should be enqueued for use by the main thread.
84 enum KeyAction { ENQUEUE, TOGGLE, REBOOT, IGNORE, MOUNT_SYSTEM }; 84 enum KeyAction { ENQUEUE, TOGGLE, REBOOT, IGNORE };
85 virtual KeyAction CheckKey(int key); 85 virtual KeyAction CheckKey(int key);
86 86
87 // Called immediately before each call to CheckKey(), tell you if 87 // Called immediately before each call to CheckKey(), tell you if
@@ -134,7 +134,6 @@ private:
134 int rel_sum; 134 int rel_sum;
135 135
136 int consecutive_power_keys; 136 int consecutive_power_keys;
137 int consecutive_alternate_keys;
138 int last_key; 137 int last_key;
139 138
140 typedef struct { 139 typedef struct {