summaryrefslogtreecommitdiffstats
path: root/recovery_ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'recovery_ui.h')
-rw-r--r--recovery_ui.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/recovery_ui.h b/recovery_ui.h
index e451bdfa2..e56a24b29 100644
--- a/recovery_ui.h
+++ b/recovery_ui.h
@@ -17,6 +17,12 @@
#ifndef _RECOVERY_UI_H
#define _RECOVERY_UI_H
+#include "common.h"
+
+// Called before UI library is initialized. Can change things like
+// how many frames are included in various animations, etc.
+extern void device_ui_init(UIParameters* ui_parameters);
+
// Called when recovery starts up. Returns 0.
extern int device_recovery_start();
@@ -66,7 +72,8 @@ int device_wipe_data();
#define SELECT_ITEM -4
#define ITEM_REBOOT 0
-#define ITEM_APPLY_SDCARD 1
+#define ITEM_APPLY_EXT 1
+#define ITEM_APPLY_SDCARD 1 // historical synonym for ITEM_APPLY_EXT
#define ITEM_WIPE_DATA 2
#define ITEM_WIPE_CACHE 3