sdm660-common: init: Handle fingerprint overrides through init
This commit is contained in:
parent
2228811ec0
commit
a03bdea1fe
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,3 @@
|
|||
#Build FP to be picked by both system and vendor
|
||||
BUILD_FINGERPRINT := "xiaomi/wayne/wayne:8.1.0/OPM1.171019.011/V9.5.11.0.ODCCNFA:user/release-keys"
|
||||
|
||||
# Apex
|
||||
ifeq ($(ENABLE_APEX), true)
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
|
|
|
@ -119,6 +119,9 @@ void vendor_load_persist_properties()
|
|||
}
|
||||
void vendor_load_properties()
|
||||
{
|
||||
property_override("ro.build.description", "xiaomi/wayne/wayne:8.1.0/OPM1.171019.011/V9.5.11.0.ODCCNFA:user/release-keys");
|
||||
property_override_dual("ro.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", "");
|
||||
if (product.find("whyred") != std::string::npos)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue