diff options
author | Tianjie Xu <xunchang@google.com> | 2017-09-27 19:45:01 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-09-27 19:45:01 +0200 |
commit | 8874d3c3095a87ad546b7a7c84a7fa17c35a5f3a (patch) | |
tree | 4ce018893e091c21392e022432a50b4a84eb79cd /recovery.cpp | |
parent | Merge "clang-format: Remove the override of PenaltyExcessCharacter." (diff) | |
parent | Merge "Add a new option in recovery menu to test the background texts" (diff) | |
download | android_bootable_recovery-8874d3c3095a87ad546b7a7c84a7fa17c35a5f3a.tar android_bootable_recovery-8874d3c3095a87ad546b7a7c84a7fa17c35a5f3a.tar.gz android_bootable_recovery-8874d3c3095a87ad546b7a7c84a7fa17c35a5f3a.tar.bz2 android_bootable_recovery-8874d3c3095a87ad546b7a7c84a7fa17c35a5f3a.tar.lz android_bootable_recovery-8874d3c3095a87ad546b7a7c84a7fa17c35a5f3a.tar.xz android_bootable_recovery-8874d3c3095a87ad546b7a7c84a7fa17c35a5f3a.tar.zst android_bootable_recovery-8874d3c3095a87ad546b7a7c84a7fa17c35a5f3a.zip |
Diffstat (limited to '')
-rw-r--r-- | recovery.cpp | 5 |
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 |