summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2018-05-07 20:21:10 +0200
committerJerry Zhang <zhangjerry@google.com>2018-05-22 01:37:07 +0200
commit0e577ee424acf7a5e6600560d702ab3c8020a29f (patch)
tree5188fa84f7382e2a4c328d57a1b2b019083b6133 /recovery.cpp
parentMerge "Move stuff from recovery into librecovery." (diff)
downloadandroid_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.tar
android_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.tar.gz
android_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.tar.bz2
android_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.tar.lz
android_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.tar.xz
android_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.tar.zst
android_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.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:");