diff options
author | Elliott Hughes <enh@google.com> | 2015-04-15 19:05:35 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-15 19:05:35 +0200 |
commit | 6e435abfeb7256b5ea82ca37166acf36e3f98085 (patch) | |
tree | fa39003f9127c243b686264b48d5d2671e2ce8ac /device.cpp | |
parent | Merge "Add missing \n after "Mounting /system." message." (diff) | |
parent | Move the menu header out of the menu. (diff) | |
download | android_bootable_recovery-6e435abfeb7256b5ea82ca37166acf36e3f98085.tar android_bootable_recovery-6e435abfeb7256b5ea82ca37166acf36e3f98085.tar.gz android_bootable_recovery-6e435abfeb7256b5ea82ca37166acf36e3f98085.tar.bz2 android_bootable_recovery-6e435abfeb7256b5ea82ca37166acf36e3f98085.tar.lz android_bootable_recovery-6e435abfeb7256b5ea82ca37166acf36e3f98085.tar.xz android_bootable_recovery-6e435abfeb7256b5ea82ca37166acf36e3f98085.tar.zst android_bootable_recovery-6e435abfeb7256b5ea82ca37166acf36e3f98085.zip |
Diffstat (limited to 'device.cpp')
-rw-r--r-- | device.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/device.cpp b/device.cpp index 024fc3465..fd1a9875b 100644 --- a/device.cpp +++ b/device.cpp @@ -16,20 +16,6 @@ #include "device.h" -static const char* REGULAR_HEADERS[] = { - "Volume up/down move highlight.", - "Power button activates.", - "", - NULL -}; - -static const char* LONG_PRESS_HEADERS[] = { - "Any button cycles highlight.", - "Long-press activates.", - "", - NULL -}; - static const char* MENU_ITEMS[] = { "Reboot system now", "Reboot to bootloader", @@ -43,10 +29,6 @@ static const char* MENU_ITEMS[] = { NULL }; -const char* const* Device::GetMenuHeaders() { - return ui_->HasThreeButtons() ? REGULAR_HEADERS : LONG_PRESS_HEADERS; -} - const char* const* Device::GetMenuItems() { return MENU_ITEMS; } |