diff options
author | yetta_wu <yetta_wu@asus.com> | 2013-06-25 21:56:12 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-06-25 21:56:12 +0200 |
commit | 4d4b233eae51d5580b58cb00d3aa45ecbb1b255e (patch) | |
tree | 0ff0d373e63e3ca5a20945126a0c68e6b3ef8ffc | |
parent | am d51bfc9b: Merge "Fix the potential segmentation fault" (diff) | |
parent | recovery: init backgroundIcon properly to avoid recovery mode crash (diff) | |
download | android_bootable_recovery-4d4b233eae51d5580b58cb00d3aa45ecbb1b255e.tar android_bootable_recovery-4d4b233eae51d5580b58cb00d3aa45ecbb1b255e.tar.gz android_bootable_recovery-4d4b233eae51d5580b58cb00d3aa45ecbb1b255e.tar.bz2 android_bootable_recovery-4d4b233eae51d5580b58cb00d3aa45ecbb1b255e.tar.lz android_bootable_recovery-4d4b233eae51d5580b58cb00d3aa45ecbb1b255e.tar.xz android_bootable_recovery-4d4b233eae51d5580b58cb00d3aa45ecbb1b255e.tar.zst android_bootable_recovery-4d4b233eae51d5580b58cb00d3aa45ecbb1b255e.zip |
-rw-r--r-- | screen_ui.cpp | 4 |
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; } |