From 1df3ce7ea8b8fe2146ffd946d0c867c66e32c36b Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Tue, 9 Jul 2019 11:16:51 -0700 Subject: recovery_ui: Remove RecoveryUI::last_key. It's a private member, and the last user has been removed in [1] in 2015. [1] commit ec28340cf3af1029a00db1c83d78d14e8798e245, https://android-review.googlesource.com/c/platform/bootable/recovery/+/146330 Test: mmma -j bootable/recovery Change-Id: I65a2370cb20a7b296888425a44a42c8b90abc766 --- recovery_ui/include/recovery_ui/ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recovery_ui/include') diff --git a/recovery_ui/include/recovery_ui/ui.h b/recovery_ui/include/recovery_ui/ui.h index 797e2f0d5..d2ebad25b 100644 --- a/recovery_ui/include/recovery_ui/ui.h +++ b/recovery_ui/include/recovery_ui/ui.h @@ -230,6 +230,7 @@ class RecoveryUI { bool InitScreensaver(); void SetScreensaverState(ScreensaverState state); + // Key event input queue std::mutex key_queue_mutex; std::condition_variable key_queue_cond; @@ -243,7 +244,6 @@ class RecoveryUI { int rel_sum; int consecutive_power_keys; - int last_key; bool has_power_key; bool has_up_key; -- cgit v1.2.3