diff options
author | Tim Kryger <tkryger@google.com> | 2016-12-16 02:20:26 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-12-16 02:20:26 +0100 |
commit | 5c38124f8fefe722a57081bd80d12f1c8d63261f (patch) | |
tree | f0b4934392d2d09568598d263546aafcebe4349d | |
parent | Merge "Add update_bootloader_message() to fix two-step OTAs." am: 26d972c9d2 am: 9a707b08ef am: cb15594696 (diff) | |
parent | resolve merge conflicts of 48be23c to nyc-mr1-dev-plus-aosp (diff) | |
download | android_bootable_recovery-5c38124f8fefe722a57081bd80d12f1c8d63261f.tar android_bootable_recovery-5c38124f8fefe722a57081bd80d12f1c8d63261f.tar.gz android_bootable_recovery-5c38124f8fefe722a57081bd80d12f1c8d63261f.tar.bz2 android_bootable_recovery-5c38124f8fefe722a57081bd80d12f1c8d63261f.tar.lz android_bootable_recovery-5c38124f8fefe722a57081bd80d12f1c8d63261f.tar.xz android_bootable_recovery-5c38124f8fefe722a57081bd80d12f1c8d63261f.tar.zst android_bootable_recovery-5c38124f8fefe722a57081bd80d12f1c8d63261f.zip |
Diffstat (limited to '')
-rw-r--r-- | wear_ui.cpp | 6 |
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; } |