From c209a0a736d5155895b6238f391f9cec3680f9de Mon Sep 17 00:00:00 2001 From: Tom Marshall Date: Fri, 5 Feb 2016 14:34:37 -0800 Subject: recovery: Minimize headers for "Apply update" menus The touch UI takes 3 text lines per menu item, so minimize header text to compensate. Change-Id: I468f404e1a3de6ef9dee63301bb050b64f8de211 --- recovery.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recovery.cpp b/recovery.cpp index 82df0ec..adf072b 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -790,7 +790,7 @@ static char* browse_directory(const char* path, Device* device) { z_size += d_size; zips[z_size] = NULL; - const char* headers[] = { "Choose a package to install:", path, NULL }; + const char* headers[] = { path, NULL }; char* result; int chosen_item = 0; @@ -983,7 +983,7 @@ static int apply_from_storage(Device* device, const std::string& id, bool* wipe_ static int show_apply_update_menu(Device* device) { - static const char* headers[] = { "Apply update", "", NULL }; + static const char* headers[] = { "Apply update", NULL }; char* menu_items[MAX_NUM_MANAGED_VOLUMES + 1 + 1]; std::vector volumes = vdc->getVolumes(); -- cgit v1.1