summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2012-04-12 21:55:53 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2012-04-12 21:55:53 +0200
commitf69d40afa190a2b6938979fe10760c74a8cc55b3 (patch)
tree2baab2cc48f015a294f53a71ea60daa8c87c50e9 /install.cpp
parentMerge "Add NOTICE file" (diff)
parentminor recovery changes (diff)
downloadandroid_bootable_recovery-f69d40afa190a2b6938979fe10760c74a8cc55b3.tar
android_bootable_recovery-f69d40afa190a2b6938979fe10760c74a8cc55b3.tar.gz
android_bootable_recovery-f69d40afa190a2b6938979fe10760c74a8cc55b3.tar.bz2
android_bootable_recovery-f69d40afa190a2b6938979fe10760c74a8cc55b3.tar.lz
android_bootable_recovery-f69d40afa190a2b6938979fe10760c74a8cc55b3.tar.xz
android_bootable_recovery-f69d40afa190a2b6938979fe10760c74a8cc55b3.tar.zst
android_bootable_recovery-f69d40afa190a2b6938979fe10760c74a8cc55b3.zip
Diffstat (limited to 'install.cpp')
-rw-r--r--install.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/install.cpp b/install.cpp
index 078343332..4d73aa9b0 100644
--- a/install.cpp
+++ b/install.cpp
@@ -156,6 +156,8 @@ try_update_binary(const char *path, ZipArchive *zip, int* wipe_cache) {
}
} else if (strcmp(command, "wipe_cache") == 0) {
*wipe_cache = 1;
+ } else if (strcmp(command, "clear_display") == 0) {
+ ui->SetBackground(RecoveryUI::NONE);
} else {
LOGE("unknown command [%s]\n", command);
}