From ec28340cf3af1029a00db1c83d78d14e8798e245 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 10 Apr 2015 10:01:53 -0700 Subject: 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 --- ui.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ui.h') 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 { -- cgit v1.1