summaryrefslogtreecommitdiffstats
path: root/wear_ui.cpp
diff options
context:
space:
mode:
authorTim Kryger <tkryger@google.com>2016-12-15 23:54:31 +0100
committerTim Kryger <tkryger@google.com>2016-12-15 23:54:31 +0100
commita5876e43f7cc78372dad928d373b81399047a125 (patch)
tree9ad991d71ffe2229de0ce52162f198225f22c44a /wear_ui.cpp
parentMerge "Add a stub recovery UI." am: 8c1584feaf (diff)
parentRemove outdated reference to icon_installing.png (diff)
downloadandroid_bootable_recovery-a5876e43f7cc78372dad928d373b81399047a125.tar
android_bootable_recovery-a5876e43f7cc78372dad928d373b81399047a125.tar.gz
android_bootable_recovery-a5876e43f7cc78372dad928d373b81399047a125.tar.bz2
android_bootable_recovery-a5876e43f7cc78372dad928d373b81399047a125.tar.lz
android_bootable_recovery-a5876e43f7cc78372dad928d373b81399047a125.tar.xz
android_bootable_recovery-a5876e43f7cc78372dad928d373b81399047a125.tar.zst
android_bootable_recovery-a5876e43f7cc78372dad928d373b81399047a125.zip
Diffstat (limited to 'wear_ui.cpp')
-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;
}