sdm660-common: Decommonize build.fingerprint

This commit is contained in:
OdSazib 2021-03-10 14:30:30 +06:00
parent a69c9c42fd
commit 3ee5aa4512
No known key found for this signature in database
GPG key ID: B678DBD07079B021

View file

@ -165,10 +165,7 @@ void vendor_load_properties()
property_override("dalvik.vm.heaptargetutilization", heaptargetutilization); property_override("dalvik.vm.heaptargetutilization", heaptargetutilization);
property_override("dalvik.vm.heapminfree", heapminfree); property_override("dalvik.vm.heapminfree", heapminfree);
property_override("dalvik.vm.heapmaxfree", heapmaxfree); property_override("dalvik.vm.heapmaxfree", heapmaxfree);
property_override_multifp("ro.build.fingerprint", "ro.system.build.fingerprint", "ro.bootimage.build.fingerprint",
"ro.vendor.build.fingerprint", "xiaomi/wayne/wayne:8.1.0/OPM1.171019.011/V9.5.11.0.ODCCNFA:user/release-keys");
std::string product = GetProperty("ro.product.vendor.device", ""); std::string product = GetProperty("ro.product.vendor.device", "");
if (product.find("whyred") != std::string::npos) if (product.find("whyred") != std::string::npos)
{ {