summaryrefslogtreecommitdiffstats
path: root/device.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-02-24 04:06:53 +0100
committerTao Bao <tbao@google.com>2017-03-08 00:35:12 +0100
commitfc5499f22bd9b30affca08e584411012f71b6e9c (patch)
tree80131d47bb390fe5d54587e7e2257ada9725d6e8 /device.cpp
parentMerge "recovery: Add the missing #include." (diff)
downloadandroid_bootable_recovery-fc5499f22bd9b30affca08e584411012f71b6e9c.tar
android_bootable_recovery-fc5499f22bd9b30affca08e584411012f71b6e9c.tar.gz
android_bootable_recovery-fc5499f22bd9b30affca08e584411012f71b6e9c.tar.bz2
android_bootable_recovery-fc5499f22bd9b30affca08e584411012f71b6e9c.tar.lz
android_bootable_recovery-fc5499f22bd9b30affca08e584411012f71b6e9c.tar.xz
android_bootable_recovery-fc5499f22bd9b30affca08e584411012f71b6e9c.tar.zst
android_bootable_recovery-fc5499f22bd9b30affca08e584411012f71b6e9c.zip
Diffstat (limited to '')
-rw-r--r--device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/device.cpp b/device.cpp
index e717dddf7..61501869e 100644
--- a/device.cpp
+++ b/device.cpp
@@ -60,7 +60,7 @@ Device::BuiltinAction Device::InvokeMenuItem(int menu_position) {
return menu_position < 0 ? NO_ACTION : MENU_ACTIONS[menu_position];
}
-int Device::HandleMenuKey(int key, int visible) {
+int Device::HandleMenuKey(int key, bool visible) {
if (!visible) {
return kNoAction;
}