summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2018-05-22 02:05:28 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-22 02:05:28 +0200
commitebc910901cf7815e521995d0a1645531cfd65648 (patch)
tree7940caa0e1a245ecfdb8fb0ae00799b850c8b5a3 /recovery.cpp
parentMerge "updater: Clean up the header lines computation." am: a5735e9b5f (diff)
parentMerge "recovery: Add ability to set title lines" (diff)
downloadandroid_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar
android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.gz
android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.bz2
android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.lz
android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.xz
android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.zst
android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.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 ac3e7c633..69b149906 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -1083,6 +1083,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:");