aboutsummaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2012-08-22 17:26:40 -0700
committerDoug Zongker <dougz@google.com>2012-08-22 17:26:40 -0700
commit02ec6b88ed4e6cf40cc257572b07c7277b7b6341 (patch)
tree2aa6f95cb875d258f62a5342ec2bb1ad0093e3bd /install.cpp
parenta3ccba6d314cb29b02d1dbda9a71427b11da936d (diff)
downloadbootable_recovery-02ec6b88ed4e6cf40cc257572b07c7277b7b6341.zip
bootable_recovery-02ec6b88ed4e6cf40cc257572b07c7277b7b6341.tar.gz
bootable_recovery-02ec6b88ed4e6cf40cc257572b07c7277b7b6341.tar.bz2
add simple text to recovery UI
- recovery takes a --locale argument, which will be passed by the main system - the locale is saved in cache, in case the --locale argument is missing (eg, when recovery is started from fastboot) - we include images that have prerendered text for many locales - we split the background states into four (installing update, erasing, no command, error) so that appropriate text can be shown. Change-Id: I731b8108e83d5ccc09a4aacfc1dbf7e86b397aaf
Diffstat (limited to 'install.cpp')
-rw-r--r--install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp
index 819650e..b8f4781 100644
--- a/install.cpp
+++ b/install.cpp
@@ -277,7 +277,7 @@ exit:
static int
really_install_package(const char *path, int* wipe_cache)
{
- ui->SetBackground(RecoveryUI::INSTALLING);
+ ui->SetBackground(RecoveryUI::INSTALLING_UPDATE);
ui->Print("Finding update package...\n");
ui->SetProgressType(RecoveryUI::INDETERMINATE);
LOGI("Update location: %s\n", path);