From 7c95fb05266e9687f7ec8d34507e1ec6580e3511 Mon Sep 17 00:00:00 2001 From: mauronofrio Date: Sat, 22 Jun 2019 00:09:40 +0200 Subject: [PATCH] Little fix in the unified script --- init/init_oneplus7pro.cpp | 3 +++ omni_guacamole.mk | 1 + 2 files changed, 4 insertions(+) diff --git a/init/init_oneplus7pro.cpp b/init/init_oneplus7pro.cpp index 5f23b9d..20a2d47 100644 --- a/init/init_oneplus7pro.cpp +++ b/init/init_oneplus7pro.cpp @@ -41,6 +41,7 @@ namespace init { void load_op7pro(const char *model) { property_set("ro.product.model", model); + property_set("ro.product.name", "OnePlus7Pro"); property_set("ro.build.product", "OnePlus7Pro"); property_set("ro.product.device", "OnePlus7Pro"); property_set("ro.vendor.product.device", "OnePlus7Pro"); @@ -49,6 +50,7 @@ void load_op7pro(const char *model) { void load_op7pro5g(const char *model) { property_set("ro.product.model", model); + property_set("ro.product.name", "OnePlus7ProNR"); property_set("ro.build.product", "OnePlus7ProNR"); property_set("ro.product.device", "OnePlus7ProNR"); property_set("ro.vendor.product.device", "OnePlus7ProNR"); @@ -57,6 +59,7 @@ void load_op7pro5g(const char *model) { void load_op7(const char *model) { property_set("ro.product.model", model); + property_set("ro.product.name", "OnePlus7"); property_set("ro.build.product", "OnePlus7"); property_set("ro.product.device", "OnePlus7"); property_set("ro.vendor.product.device", "OnePlus7"); diff --git a/omni_guacamole.mk b/omni_guacamole.mk index e00a3b4..c21b586 100644 --- a/omni_guacamole.mk +++ b/omni_guacamole.mk @@ -41,6 +41,7 @@ PRODUCT_SYSTEM_PROPERTY_BLACKLIST += \ ro.product.model \ ro.product.device \ ro.product.name \ + ro.build.product \ ro.display.series # HACK: Set vendor patch level -- 2.20.1