summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-06-06 17:55:57 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-06 17:55:57 +0200
commit54a6117935fe7470d23f7a538aeec9d6b139791b (patch)
tree8e59963541816337043f4607fa09fb5b6c2775f5
parentam d1c64060: am 5fbb729f: Merge "exit instead of return if sideload file creation fails" (diff)
parentMerge "recovery: initialize keys press tracking status" (diff)
downloadandroid_bootable_recovery-54a6117935fe7470d23f7a538aeec9d6b139791b.tar
android_bootable_recovery-54a6117935fe7470d23f7a538aeec9d6b139791b.tar.gz
android_bootable_recovery-54a6117935fe7470d23f7a538aeec9d6b139791b.tar.bz2
android_bootable_recovery-54a6117935fe7470d23f7a538aeec9d6b139791b.tar.lz
android_bootable_recovery-54a6117935fe7470d23f7a538aeec9d6b139791b.tar.xz
android_bootable_recovery-54a6117935fe7470d23f7a538aeec9d6b139791b.tar.zst
android_bootable_recovery-54a6117935fe7470d23f7a538aeec9d6b139791b.zip
-rw-r--r--ui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.cpp b/ui.cpp
index 5043ee528..a7c8bea48 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -55,6 +55,7 @@ RecoveryUI::RecoveryUI() :
pthread_mutex_init(&key_queue_mutex, NULL);
pthread_cond_init(&key_queue_cond, NULL);
self = this;
+ memset(key_pressed, 0, sizeof(key_pressed));
}
void RecoveryUI::Init() {