summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-03-18 00:11:02 +0100
committerDoug Zongker <dougz@google.com>2014-03-18 00:11:02 +0100
commit80c1a386d3f614919708b37986919ecaf74ee738 (patch)
tree2dda152c800117f1f6c7e789c7fb88bd5640f89b /recovery.cpp
parentam 026ebe02: Merge "Recovery 64-bit compile issues" (diff)
parentMerge "refactor image resource loading code in minui" (diff)
downloadandroid_bootable_recovery-80c1a386d3f614919708b37986919ecaf74ee738.tar
android_bootable_recovery-80c1a386d3f614919708b37986919ecaf74ee738.tar.gz
android_bootable_recovery-80c1a386d3f614919708b37986919ecaf74ee738.tar.bz2
android_bootable_recovery-80c1a386d3f614919708b37986919ecaf74ee738.tar.lz
android_bootable_recovery-80c1a386d3f614919708b37986919ecaf74ee738.tar.xz
android_bootable_recovery-80c1a386d3f614919708b37986919ecaf74ee738.tar.zst
android_bootable_recovery-80c1a386d3f614919708b37986919ecaf74ee738.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);