From 6c1d0626eacfc92264b22b4ea7e8b0f4e02a477e Mon Sep 17 00:00:00 2001 From: etahamad Date: Sun, 21 Feb 2021 01:24:21 +0200 Subject: [PATCH] sdm660-common: Move some QCOM props to system_ext Test: using su shell: getprop persist.vendor.dpm.feature and check if the value exist or not. Fix: Moving prop into his right path --- sdm660.mk | 3 ++- system.prop | 4 ---- system_ext.prop | 4 ++++ 3 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 system_ext.prop diff --git a/sdm660.mk b/sdm660.mk index aeb85d22..146c0cd9 100644 --- a/sdm660.mk +++ b/sdm660.mk @@ -47,8 +47,9 @@ COMMON_PATH := device/xiaomi/sdm660-common # Inherit properties $(call inherit-product, $(COMMON_PATH)/common_prop.mk) -# Inherit properties (system/build.prop) +# Inherit properties ($PATH_PROP) TARGET_SYSTEM_PROP += $(COMMON_PATH)/system.prop +TARGET_SYSTEM_EXT_PROP += $(COMMON_PATH)/system_ext.prop # A/B ifeq ($(ENABLE_AB), true) diff --git a/system.prop b/system.prop index 1ef18ab4..86979c64 100644 --- a/system.prop +++ b/system.prop @@ -68,10 +68,6 @@ gsm.proximity.enable=true # Time daemon persist.timed.enable=true -# QCOM -persist.vendor.dpm.feature=1 -persist.vendor.dpm.nsrm.bkg.evt=3955 - # Radio persist.backup.ntpServer=0.pool.ntp.org persist.radio.aosp_usr_pref_sel=true diff --git a/system_ext.prop b/system_ext.prop new file mode 100644 index 00000000..f9d31d6d --- /dev/null +++ b/system_ext.prop @@ -0,0 +1,4 @@ + +# QCOM +persist.vendor.dpm.feature=1 +persist.vendor.dpm.nsrm.bkg.evt=3955