summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2012-04-12 20:01:22 +0200
committerDoug Zongker <dougz@android.com>2012-04-12 20:01:22 +0200
commite5d5ac76cc8e5d11867aeff6a1d068215c1c3a7c (patch)
treec88149f2f9c48966f66533e7bbf0b66ae407a314 /install.cpp
parentrun minadbd as shell user, remove unused code (diff)
downloadandroid_bootable_recovery-e5d5ac76cc8e5d11867aeff6a1d068215c1c3a7c.tar
android_bootable_recovery-e5d5ac76cc8e5d11867aeff6a1d068215c1c3a7c.tar.gz
android_bootable_recovery-e5d5ac76cc8e5d11867aeff6a1d068215c1c3a7c.tar.bz2
android_bootable_recovery-e5d5ac76cc8e5d11867aeff6a1d068215c1c3a7c.tar.lz
android_bootable_recovery-e5d5ac76cc8e5d11867aeff6a1d068215c1c3a7c.tar.xz
android_bootable_recovery-e5d5ac76cc8e5d11867aeff6a1d068215c1c3a7c.tar.zst
android_bootable_recovery-e5d5ac76cc8e5d11867aeff6a1d068215c1c3a7c.zip
Diffstat (limited to '')
-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);
}