summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-01-04 02:34:42 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-01-04 02:34:42 +0100
commit05e7db3000b9d46ff1d65ff051737b68eef1f890 (patch)
tree52cc49088cdd6c409fab6b5415fcb17ac45eab03
parentMerge "updater: Update the header name for bootloader.h." (diff)
parentMerge "Remove outdated reference to icon_installing.png" (diff)
downloadandroid_bootable_recovery-05e7db3000b9d46ff1d65ff051737b68eef1f890.tar
android_bootable_recovery-05e7db3000b9d46ff1d65ff051737b68eef1f890.tar.gz
android_bootable_recovery-05e7db3000b9d46ff1d65ff051737b68eef1f890.tar.bz2
android_bootable_recovery-05e7db3000b9d46ff1d65ff051737b68eef1f890.tar.lz
android_bootable_recovery-05e7db3000b9d46ff1d65ff051737b68eef1f890.tar.xz
android_bootable_recovery-05e7db3000b9d46ff1d65ff051737b68eef1f890.tar.zst
android_bootable_recovery-05e7db3000b9d46ff1d65ff051737b68eef1f890.zip
-rw-r--r--wear_ui.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/wear_ui.cpp b/wear_ui.cpp
index 11e5a7168..bdb0ef009 100644
--- a/wear_ui.cpp
+++ b/wear_ui.cpp
@@ -209,10 +209,12 @@ bool WearRecoveryUI::Init() {
return false;
}
- LoadBitmap("icon_installing", &backgroundIcon[INSTALLING_UPDATE]);
- backgroundIcon[ERASING] = backgroundIcon[INSTALLING_UPDATE];
LoadBitmap("icon_error", &backgroundIcon[ERROR]);
backgroundIcon[NO_COMMAND] = backgroundIcon[ERROR];
+
+ // This leaves backgroundIcon[INSTALLING_UPDATE] and backgroundIcon[ERASING]
+ // as NULL which is fine since draw_background_locked() doesn't use them.
+
return true;
}