summaryrefslogtreecommitdiffstats
path: root/screen_ui.cpp
diff options
context:
space:
mode:
authorAlistair Strachan <alistair.strachan@imgtec.com>2013-07-17 19:34:36 +0200
committerDoug Zongker <dougz@android.com>2013-11-18 18:51:32 +0100
commit9b8ae8038be65c2ec236bc04590716fbcd5363f6 (patch)
tree6340b6b0d4a5c088280eb8778ae13a355e8fa0da /screen_ui.cpp
parentam 40dfc474: am c64e76c7: Merge "Enable incremental builder to find files that moved, and try to process them via patch + rename, instead of delete + add." into klp-dev (diff)
downloadandroid_bootable_recovery-9b8ae8038be65c2ec236bc04590716fbcd5363f6.tar
android_bootable_recovery-9b8ae8038be65c2ec236bc04590716fbcd5363f6.tar.gz
android_bootable_recovery-9b8ae8038be65c2ec236bc04590716fbcd5363f6.tar.bz2
android_bootable_recovery-9b8ae8038be65c2ec236bc04590716fbcd5363f6.tar.lz
android_bootable_recovery-9b8ae8038be65c2ec236bc04590716fbcd5363f6.tar.xz
android_bootable_recovery-9b8ae8038be65c2ec236bc04590716fbcd5363f6.tar.zst
android_bootable_recovery-9b8ae8038be65c2ec236bc04590716fbcd5363f6.zip
Diffstat (limited to 'screen_ui.cpp')
-rw-r--r--screen_ui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp
index 8376341c3..be7abca1d 100644
--- a/screen_ui.cpp
+++ b/screen_ui.cpp
@@ -376,6 +376,7 @@ void ScreenRecoveryUI::Init()
text_cols = gr_fb_width() / char_width;
if (text_cols > kMaxCols - 1) text_cols = kMaxCols - 1;
+ backgroundIcon[NONE] = NULL;
LoadBitmap("icon_installing", &backgroundIcon[INSTALLING_UPDATE]);
backgroundIcon[ERASING] = backgroundIcon[INSTALLING_UPDATE];
LoadBitmap("icon_error", &backgroundIcon[ERROR]);