summaryrefslogtreecommitdiffstats
path: root/screen_ui.cpp
diff options
context:
space:
mode:
authoryetta_wu <yetta_wu@asus.com>2013-06-25 09:03:11 +0200
committerIliyan Malchev <malchev@google.com>2013-06-25 21:50:20 +0200
commit2f6877a0220475303907203308c018d789ea1a53 (patch)
tree9268277112eb6914c3f3a3db40b6af55e2a8144d /screen_ui.cpp
parentrecovery: save logs from the last few invocations of recovery (diff)
downloadandroid_bootable_recovery-2f6877a0220475303907203308c018d789ea1a53.tar
android_bootable_recovery-2f6877a0220475303907203308c018d789ea1a53.tar.gz
android_bootable_recovery-2f6877a0220475303907203308c018d789ea1a53.tar.bz2
android_bootable_recovery-2f6877a0220475303907203308c018d789ea1a53.tar.lz
android_bootable_recovery-2f6877a0220475303907203308c018d789ea1a53.tar.xz
android_bootable_recovery-2f6877a0220475303907203308c018d789ea1a53.tar.zst
android_bootable_recovery-2f6877a0220475303907203308c018d789ea1a53.zip
Diffstat (limited to 'screen_ui.cpp')
-rw-r--r--screen_ui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp
index 222de00ee..93e260936 100644
--- a/screen_ui.cpp
+++ b/screen_ui.cpp
@@ -82,6 +82,10 @@ ScreenRecoveryUI::ScreenRecoveryUI() :
install_overlay_offset_y(190),
overlay_offset_x(-1),
overlay_offset_y(-1) {
+
+ for (int i = 0; i < 5; i++)
+ backgroundIcon[i] = NULL;
+
pthread_mutex_init(&updateMutex, NULL);
self = this;
}