diff options
author | Tom Marshall <tdm@cyngn.com> | 2016-02-05 14:34:37 -0800 |
---|---|---|
committer | Pat Erley <perley@cyngn.com> | 2016-02-08 00:29:07 -0800 |
commit | c209a0a736d5155895b6238f391f9cec3680f9de (patch) | |
tree | f0015bb0031a0b920e9712c967c017afa791a65f | |
parent | e1d7843fdb4340eb89cabac07d716711ff1d6de9 (diff) | |
download | bootable_recovery-c209a0a736d5155895b6238f391f9cec3680f9de.zip bootable_recovery-c209a0a736d5155895b6238f391f9cec3680f9de.tar.gz bootable_recovery-c209a0a736d5155895b6238f391f9cec3680f9de.tar.bz2 |
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
-rw-r--r-- | recovery.cpp | 4 |
1 files 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<VolumeInfo> volumes = vdc->getVolumes(); |