summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-09-27 19:58:32 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-09-27 19:58:32 +0200
commit41eb05cf4f1368f2dad55b665247e4dd559862d2 (patch)
treecf230368696562e4ccb25a830a3071d32fd5e8f7 /recovery.cpp
parentMerge "clang-format: Remove the override of PenaltyExcessCharacter." am: 151f0820ac am: fccf3bc0cf am: 88fd6aff38 (diff)
parentMerge "Add a new option in recovery menu to test the background texts" am: 4c7608f3ca am: 8874d3c309 (diff)
downloadandroid_bootable_recovery-41eb05cf4f1368f2dad55b665247e4dd559862d2.tar
android_bootable_recovery-41eb05cf4f1368f2dad55b665247e4dd559862d2.tar.gz
android_bootable_recovery-41eb05cf4f1368f2dad55b665247e4dd559862d2.tar.bz2
android_bootable_recovery-41eb05cf4f1368f2dad55b665247e4dd559862d2.tar.lz
android_bootable_recovery-41eb05cf4f1368f2dad55b665247e4dd559862d2.tar.xz
android_bootable_recovery-41eb05cf4f1368f2dad55b665247e4dd559862d2.tar.zst
android_bootable_recovery-41eb05cf4f1368f2dad55b665247e4dd559862d2.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