summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2018-05-22 01:52:43 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-05-22 01:52:43 +0200
commitcba047f9446029523c94a812186fffba9e722669 (patch)
tree1a64c95a7b5d536a2116c3336853b10403bbe024 /recovery.cpp
parentMerge "updater: Clean up the header lines computation." (diff)
parentrecovery: Add ability to set title lines (diff)
downloadandroid_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.tar
android_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.tar.gz
android_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.tar.bz2
android_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.tar.lz
android_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.tar.xz
android_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.tar.zst
android_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.zip
Diffstat (limited to '')
-rw-r--r--recovery.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 21f633011..56b2567d1 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -1063,6 +1063,11 @@ Device::BuiltinAction start_recovery(Device* device, const std::vector<std::stri
ui->SetStage(st_cur, st_max);
}
+ std::vector<std::string> title_lines =
+ android::base::Split(android::base::GetProperty("ro.bootimage.build.fingerprint", ""), ":");
+ title_lines.insert(std::begin(title_lines), "Android Recovery");
+ ui->SetTitle(title_lines);
+
device->StartRecovery();
printf("Command:");