aboutsummaryrefslogtreecommitdiff
path: root/fastboot
diff options
context:
space:
mode:
authorRichard Hansen <rhansen@rhansen.org>2020-05-12 18:08:56 -0400
committerTim Zimmermann <tim@linux4.de>2022-08-23 17:55:23 +0200
commitd44512a1f5437f9e39667f39abb43b8c85837263 (patch)
treeb8a4a83f34eaecf0e0c7aeb2ead000e855ee00fb /fastboot
parentb1eb7fe746cd4e63160b80b643db54f65f24dac6 (diff)
recovery: Display recovery version
Set the title lines to the lineage version and build date and render them between the logo and menu. The "Lineage Recovery" and "Android Fastboot" lines are removed because the logo already says "Recovery" or "Fastbootd". Also: Assume the logo and back icon are non-null. ScreenRecoveryUI::SelectMenu already makes this assumption, and it avoids questions about how to handle "back" if either the logo or the back icon is null. Change-Id: I63bb23e34e52fdb01dd85e793552aa259f46a7de
Diffstat (limited to 'fastboot')
-rw-r--r--fastboot/fastboot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index a0930087..d9050931 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -39,7 +39,7 @@ static const std::vector<std::pair<std::string, Device::BuiltinAction>> kFastboo
Device::BuiltinAction StartFastboot(Device* device, const std::vector<std::string>& /* args */) {
RecoveryUI* ui = device->GetUI();
- std::vector<std::string> title_lines = { "Android Fastboot" };
+ std::vector<std::string> title_lines;
title_lines.push_back("Product name - " + android::base::GetProperty("ro.product.device", ""));
title_lines.push_back("Bootloader version - " + android::base::GetProperty("ro.bootloader", ""));
title_lines.push_back("Baseband version - " +