diff options
Diffstat (limited to 'recovery/recovery_ui.c')
-rw-r--r-- | recovery/recovery_ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery/recovery_ui.c b/recovery/recovery_ui.c index b37d6a0..67f6b85 100644 --- a/recovery/recovery_ui.c +++ b/recovery/recovery_ui.c @@ -46,7 +46,7 @@ int device_toggle_display(volatile char* key_pressed, int key_code) { return 0; //return get_allow_toggle_display() && (key_code == KEY_HOME || key_code == KEY_MENU || key_code == KEY_END); } - return get_allow_toggle_display() && (key_code == KEY_POWER || key_code == KEY_END); + return get_allow_toggle_display() && (key_code == KEY_MENU || key_code == KEY_BACK); } int device_reboot_now(volatile char* key_pressed, int key_code) { @@ -88,7 +88,7 @@ int device_handle_key(int key_code, int visible) { case KEY_BACKSPACE: case KEY_SEARCH: case KEY_BACK: - return GO_BACK; + return NO_ACTION; } } |