diff options
author | Doug Zongker <dougz@android.com> | 2014-05-13 19:25:51 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-13 19:25:52 +0200 |
commit | 74b90b309f67dc3b8bb74e47c4eddf7ce511bc35 (patch) | |
tree | e72e442e6a5ac7fdb04c4669418c113adcab265c /screen_ui.cpp | |
parent | Merge "recovery: minui: add adf backend" (diff) | |
parent | screen_ui: Initialize text buffer (diff) | |
download | android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.tar android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.tar.gz android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.tar.bz2 android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.tar.lz android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.tar.xz android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.tar.zst android_bootable_recovery-74b90b309f67dc3b8bb74e47c4eddf7ce511bc35.zip |
Diffstat (limited to '')
-rw-r--r-- | screen_ui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp index 656f72445..7826693b2 100644 --- a/screen_ui.cpp +++ b/screen_ui.cpp @@ -75,6 +75,8 @@ ScreenRecoveryUI::ScreenRecoveryUI() : for (int i = 0; i < 5; i++) backgroundIcon[i] = NULL; + memset(text, 0, sizeof(text)); + pthread_mutex_init(&updateMutex, NULL); self = this; } |