summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-09-27 19:39:05 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-09-27 19:39:05 +0200
commit4c7608f3cacfcb9e585e8bc254fb01eb5af40978 (patch)
treeb245d108a23ee6d630fd30046e4eea84057f88f4 /recovery.cpp
parentMerge "clang-format: Remove the override of PenaltyExcessCharacter." (diff)
parentAdd a new option in recovery menu to test the background texts (diff)
downloadandroid_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.tar
android_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.tar.gz
android_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.tar.bz2
android_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.tar.lz
android_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.tar.xz
android_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.tar.zst
android_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp
index d037b7971..076b4492e 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -1191,6 +1191,11 @@ static Device::BuiltinAction prompt_and_wait(Device* device, int status) {
run_graphics_test();
break;
+ case Device::RUN_LOCALE_TEST: {
+ ScreenRecoveryUI* screen_ui = static_cast<ScreenRecoveryUI*>(ui);
+ screen_ui->CheckBackgroundTextImages(locale);
+ break;
+ }
case Device::MOUNT_SYSTEM:
// For a system image built with the root directory (i.e. system_root_image == "true"), we
// mount it to /system_root, and symlink /system to /system_root/system to make adb shell