summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2018-05-22 02:00:23 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-22 02:00:23 +0200
commit6283f64568fff87f80c0a948644d3c8377cf7ace (patch)
tree1a64c95a7b5d536a2116c3336853b10403bbe024 /recovery.cpp
parentMerge "updater: Clean up the header lines computation." (diff)
parentMerge "recovery: Add ability to set title lines" (diff)
downloadandroid_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.tar
android_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.tar.gz
android_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.tar.bz2
android_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.tar.lz
android_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.tar.xz
android_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.tar.zst
android_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.zip
Diffstat (limited to 'recovery.cpp')
-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:");