summaryrefslogtreecommitdiffstats
path: root/recovery_ui/ui.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-07-23 22:23:29 +0200
committerTianjie Xu <xunchang@google.com>2019-07-25 22:22:03 +0200
commite5032219fe909864233e8225ee4fabd10c49ed5b (patch)
treedd7a4f206bbdc013c7d86b62a2a00bd377032f7b /recovery_ui/ui.cpp
parentMerge "Add command line parser for simulator" (diff)
downloadandroid_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.tar
android_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.tar.gz
android_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.tar.bz2
android_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.tar.lz
android_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.tar.xz
android_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.tar.zst
android_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.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;
}