Skip to content

Commit 790f65d

Browse files
committed
Update custom recovery keymapping for ICS, point makefile to renamed file
1 parent cfa1efd commit 790f65d

File tree

2 files changed

+1
-32
lines changed

2 files changed

+1
-32
lines changed

AndroidProducts.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
PRODUCT_MAKEFILES := \
2-
$(LOCAL_DIR)/triumph.mk
2+
$(LOCAL_DIR)/device_triumph.mk

recovery/recovery_ui.c

-31
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,6 @@
2020
#include "common.h"
2121
#include "extendedcommands.h"
2222

23-
char* MENU_HEADERS[] = { "Use vol keys to highlight and menu to select.",
24-
"",
25-
NULL };
26-
27-
char* MENU_ITEMS[] = { "reboot system now",
28-
"apply update from sdcard",
29-
"wipe data/factory reset",
30-
"wipe cache partition",
31-
"install zip from sdcard",
32-
"backup and restore",
33-
"mounts and storage",
34-
"advanced",
35-
"power off",
36-
NULL };
37-
38-
int device_recovery_start() {
39-
return 0;
40-
}
41-
4223
int device_toggle_display(volatile char* key_pressed, int key_code) {
4324
int alt = key_pressed[KEY_LEFTALT] || key_pressed[KEY_RIGHTALT];
4425
if (alt && key_code == KEY_L)
@@ -51,10 +32,6 @@ int device_toggle_display(volatile char* key_pressed, int key_code) {
5132
return get_allow_toggle_display() && (key_code == KEY_POWER || key_code == KEY_END);
5233
}
5334

54-
int device_reboot_now(volatile char* key_pressed, int key_code) {
55-
return 0;
56-
}
57-
5835
int device_handle_key(int key_code, int visible) {
5936
if (visible) {
6037
switch (key_code) {
@@ -74,11 +51,3 @@ int device_handle_key(int key_code, int visible) {
7451

7552
return NO_ACTION;
7653
}
77-
78-
int device_perform_action(int which) {
79-
return which;
80-
}
81-
82-
int device_wipe_data() {
83-
return 0;
84-
}

0 commit comments

Comments
 (0)