summaryrefslogtreecommitdiffstats
path: root/recovery_ui/ui.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-07-26 20:13:22 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-07-26 20:13:22 +0200
commitb25d741563834aa286643044051af3873b00a0d3 (patch)
treeb7bd71c01529152b1d2789bcb8358fcf6fe8f428 /recovery_ui/ui.cpp
parentMerge "Clean up some global variables in common.h" (diff)
parentMerge "Create a new function to return the help message for menu" (diff)
downloadandroid_bootable_recovery-b25d741563834aa286643044051af3873b00a0d3.tar
android_bootable_recovery-b25d741563834aa286643044051af3873b00a0d3.tar.gz
android_bootable_recovery-b25d741563834aa286643044051af3873b00a0d3.tar.bz2
android_bootable_recovery-b25d741563834aa286643044051af3873b00a0d3.tar.lz
android_bootable_recovery-b25d741563834aa286643044051af3873b00a0d3.tar.xz
android_bootable_recovery-b25d741563834aa286643044051af3873b00a0d3.tar.zst
android_bootable_recovery-b25d741563834aa286643044051af3873b00a0d3.zip
Diffstat (limited to 'recovery_ui/ui.cpp')
-rw-r--r--recovery_ui/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery_ui/ui.cpp b/recovery_ui/ui.cpp
index 98c654ddb..6f5cbbca6 100644
--- a/recovery_ui/ui.cpp
+++ b/recovery_ui/ui.cpp
@@ -528,7 +528,7 @@ bool RecoveryUI::IsLongPress() {
return result;
}
-bool RecoveryUI::HasThreeButtons() {
+bool RecoveryUI::HasThreeButtons() const {
return has_power_key && has_up_key && has_down_key;
}