From bfd6764bf633bc4e6f6c403bbd10c6bc0ea1f3d9 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Mon, 25 May 2020 18:14:53 +0900 Subject: Use ro.build.fingerprint instead of ro.bootimage.* ro.bootimage.* sysprops will be removed as they are redundant. Read ro.build.fingerprint instead. This is safe because: 2) ro.bootimage.build.fingerprint is the same as other ro..build.fingerprint all of which are from $(BUILD_FINGERPRINT_FILE). 3) BUILD_FINGERPRINT_FILE is composed of PRODUCT_BRAND, TARGET_PRODUCT, TARGET_DEVICE, etc. 4) ro.build.fingerprint is auto-composed by init at runtime by the same rule as #3. Bug: 117892318 Test: enter into the recovery mode and manually inspect the title line Change-Id: If28d710f45b98a0effc0159851bca6afb2aa5735 --- recovery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recovery.cpp') diff --git a/recovery.cpp b/recovery.cpp index b1f106b1c..e02bc726e 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -702,7 +702,7 @@ Device::BuiltinAction start_recovery(Device* device, const std::vector title_lines = - android::base::Split(android::base::GetProperty("ro.bootimage.build.fingerprint", ""), ":"); + android::base::Split(android::base::GetProperty("ro.build.fingerprint", ""), ":"); title_lines.insert(std::begin(title_lines), "Android Recovery"); ui->SetTitle(title_lines); -- cgit v1.2.3