diff options
author | Doug Zongker <dougz@android.com> | 2013-11-18 18:58:12 +0100 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-11-18 18:58:12 +0100 |
commit | 9fb676aa924b2ad1c1f2f8f44734b1ecd9f909dc (patch) | |
tree | 8f5677df0275d500b60b8d0efbc814a5059186e5 | |
parent | Restore default umask after forking for update-binary. (diff) | |
parent | Fix rare crash seen when dereferencing backgroundIcon[NONE]. (diff) | |
download | android_bootable_recovery-9fb676aa924b2ad1c1f2f8f44734b1ecd9f909dc.tar android_bootable_recovery-9fb676aa924b2ad1c1f2f8f44734b1ecd9f909dc.tar.gz android_bootable_recovery-9fb676aa924b2ad1c1f2f8f44734b1ecd9f909dc.tar.bz2 android_bootable_recovery-9fb676aa924b2ad1c1f2f8f44734b1ecd9f909dc.tar.lz android_bootable_recovery-9fb676aa924b2ad1c1f2f8f44734b1ecd9f909dc.tar.xz android_bootable_recovery-9fb676aa924b2ad1c1f2f8f44734b1ecd9f909dc.tar.zst android_bootable_recovery-9fb676aa924b2ad1c1f2f8f44734b1ecd9f909dc.zip |
Diffstat (limited to '')
-rw-r--r-- | screen_ui.cpp | 1 |
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]); |