summaryrefslogtreecommitdiffstats
path: root/recovery_ui/ui.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-07-09 20:16:51 +0200
committerTao Bao <tbao@google.com>2019-07-09 20:21:18 +0200
commit1df3ce7ea8b8fe2146ffd946d0c867c66e32c36b (patch)
tree1e275a33f5341f309694207a0a8256d6aaa66fca /recovery_ui/ui.cpp
parentMerge "Add a GetMappedPackageLength to Updater" (diff)
downloadandroid_bootable_recovery-1df3ce7ea8b8fe2146ffd946d0c867c66e32c36b.tar
android_bootable_recovery-1df3ce7ea8b8fe2146ffd946d0c867c66e32c36b.tar.gz
android_bootable_recovery-1df3ce7ea8b8fe2146ffd946d0c867c66e32c36b.tar.bz2
android_bootable_recovery-1df3ce7ea8b8fe2146ffd946d0c867c66e32c36b.tar.lz
android_bootable_recovery-1df3ce7ea8b8fe2146ffd946d0c867c66e32c36b.tar.xz
android_bootable_recovery-1df3ce7ea8b8fe2146ffd946d0c867c66e32c36b.tar.zst
android_bootable_recovery-1df3ce7ea8b8fe2146ffd946d0c867c66e32c36b.zip
Diffstat (limited to 'recovery_ui/ui.cpp')
-rw-r--r--recovery_ui/ui.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/recovery_ui/ui.cpp b/recovery_ui/ui.cpp
index cf0d3b563..1f1cd18b1 100644
--- a/recovery_ui/ui.cpp
+++ b/recovery_ui/ui.cpp
@@ -70,7 +70,6 @@ RecoveryUI::RecoveryUI()
key_down_count(0),
enable_reboot(true),
consecutive_power_keys(0),
- last_key(-1),
has_power_key(false),
has_up_key(false),
has_down_key(false),
@@ -585,7 +584,6 @@ RecoveryUI::KeyAction RecoveryUI::CheckKey(int key, bool is_long_press) {
consecutive_power_keys = 0;
}
- last_key = key;
return (IsTextVisible() || screensaver_state_ == ScreensaverState::OFF) ? ENQUEUE : IGNORE;
}