summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-06-06 18:00:20 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-06 18:00:20 +0200
commitad07492046ee9721cf61e51255ae6b7ee3987697 (patch)
treec6efac8db3c3a376c1429760c0e300bcf83a65be
parentdisable async reboot during package installation (diff)
parentam cfd4b286: Merge "recovery: initialize keys press tracking status" (diff)
downloadandroid_bootable_recovery-ad07492046ee9721cf61e51255ae6b7ee3987697.tar
android_bootable_recovery-ad07492046ee9721cf61e51255ae6b7ee3987697.tar.gz
android_bootable_recovery-ad07492046ee9721cf61e51255ae6b7ee3987697.tar.bz2
android_bootable_recovery-ad07492046ee9721cf61e51255ae6b7ee3987697.tar.lz
android_bootable_recovery-ad07492046ee9721cf61e51255ae6b7ee3987697.tar.xz
android_bootable_recovery-ad07492046ee9721cf61e51255ae6b7ee3987697.tar.zst
android_bootable_recovery-ad07492046ee9721cf61e51255ae6b7ee3987697.zip
Diffstat (limited to '')
-rw-r--r--ui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.cpp b/ui.cpp
index 98442539b..c8f08cdd1 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -56,6 +56,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() {