summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-03-18 00:13:08 +0100
committerDoug Zongker <dougz@google.com>2014-03-18 00:13:08 +0100
commitc4025e90f4e73bd9bf9665000276663e35c0066b (patch)
treef103aef739b9715fd1546b060e132a39a071a4af /recovery.cpp
parentam 026ebe02: Merge "Recovery 64-bit compile issues" (diff)
parentMerge "refactor image resource loading code in minui" (diff)
downloadandroid_bootable_recovery-c4025e90f4e73bd9bf9665000276663e35c0066b.tar
android_bootable_recovery-c4025e90f4e73bd9bf9665000276663e35c0066b.tar.gz
android_bootable_recovery-c4025e90f4e73bd9bf9665000276663e35c0066b.tar.bz2
android_bootable_recovery-c4025e90f4e73bd9bf9665000276663e35c0066b.tar.lz
android_bootable_recovery-c4025e90f4e73bd9bf9665000276663e35c0066b.tar.xz
android_bootable_recovery-c4025e90f4e73bd9bf9665000276663e35c0066b.tar.zst
android_bootable_recovery-c4025e90f4e73bd9bf9665000276663e35c0066b.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 57e19c091..8d4ce973b 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -986,6 +986,7 @@ main(int argc, char **argv) {
ui = device->GetUI();
gCurrentUI = ui;
+ ui->SetLocale(locale);
ui->Init();
int st_cur, st_max;
@@ -993,7 +994,6 @@ main(int argc, char **argv) {
ui->SetStage(st_cur, st_max);
}
- ui->SetLocale(locale);
ui->SetBackground(RecoveryUI::NONE);
if (show_text) ui->ShowText(true);