summaryrefslogtreecommitdiffstats
path: root/recovery.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-03-01 23:04:34 +0100
committerDoug Zongker <dougz@android.com>2011-03-01 23:04:34 +0100
commit6809c51f8db86f1ab00a076cf570439d11920d3a (patch)
tree1c00a572803d0c73f7935855681f31969b527151 /recovery.c
parentam 8d43d940: am 2c273f00: store partition length in recovery.fstab (diff)
downloadandroid_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.tar
android_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.tar.gz
android_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.tar.bz2
android_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.tar.lz
android_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.tar.xz
android_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.tar.zst
android_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.zip
Diffstat (limited to '')
-rw-r--r--recovery.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/recovery.c b/recovery.c
index 671cfbebd..14fc905c2 100644
--- a/recovery.c
+++ b/recovery.c
@@ -56,6 +56,8 @@ static const char *SDCARD_ROOT = "/sdcard";
static const char *TEMPORARY_LOG_FILE = "/tmp/recovery.log";
static const char *SIDELOAD_TEMP_DIR = "/tmp/sideload";
+extern UIParameters ui_parameters; // from ui.c
+
/*
* The recovery tool communicates with the main system through /cache files.
* /cache/recovery/command - INPUT - command line for tool, one arg per line
@@ -688,6 +690,7 @@ main(int argc, char **argv) {
freopen(TEMPORARY_LOG_FILE, "a", stderr); setbuf(stderr, NULL);
printf("Starting recovery on %s", ctime(&start));
+ device_ui_init(&ui_parameters);
ui_init();
ui_set_background(BACKGROUND_ICON_INSTALLING);
load_volume_table();