summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-09-27 19:49:17 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-09-27 19:49:17 +0200
commit5e969aa10d5ab75e52dccaebbb367473a586f642 (patch)
tree4ce018893e091c21392e022432a50b4a84eb79cd /recovery.cpp
parentMerge "clang-format: Remove the override of PenaltyExcessCharacter." am: 151f0820ac (diff)
parentMerge "Add a new option in recovery menu to test the background texts" (diff)
downloadandroid_bootable_recovery-5e969aa10d5ab75e52dccaebbb367473a586f642.tar
android_bootable_recovery-5e969aa10d5ab75e52dccaebbb367473a586f642.tar.gz
android_bootable_recovery-5e969aa10d5ab75e52dccaebbb367473a586f642.tar.bz2
android_bootable_recovery-5e969aa10d5ab75e52dccaebbb367473a586f642.tar.lz
android_bootable_recovery-5e969aa10d5ab75e52dccaebbb367473a586f642.tar.xz
android_bootable_recovery-5e969aa10d5ab75e52dccaebbb367473a586f642.tar.zst
android_bootable_recovery-5e969aa10d5ab75e52dccaebbb367473a586f642.zip
Diffstat (limited to '')
-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