From 2555c134f1477b4214d1ca8354e533d260b2ca7a Mon Sep 17 00:00:00 2001 From: Miles Chuang Date: Sat, 18 Jan 2020 10:04:27 +0800 Subject: [PATCH] [ALPS03873734] Follow Android P new property rules [Detail] Android P add new limitation for property access between system partition and vendor partition: 1. SET and GET only by system 2. System cannot SET the property which SET/GET by vendor. 3. Allow system and vendor GET the property which SET by vendor. [Solution] Add new CXP HIDL to set the vendor property in vendor layer. MTK-Commit-Id: 9a2ec20bc8a60761ed0ff15f897f67b3883f8486 Change-Id: Icaea3afb2743108d7c78eea2b6e4dad363a8052d CR-Id: ALPS03873734 Feature: Regional Carrier Express Pack --- non_plat/mtkfusionrild.te | 5 +++++ non_plat/mtkrild.te | 5 +++++ non_plat/rilproxy.te | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/non_plat/mtkfusionrild.te b/non_plat/mtkfusionrild.te index e5ff7b9..31e9340 100644 --- a/non_plat/mtkfusionrild.te +++ b/non_plat/mtkfusionrild.te @@ -125,3 +125,8 @@ set_prop(rild, vendor_radio_prop) #Date : W18.21 #Purpose: allow rild access to vendor.ril.ipo system property set_prop(rild, vendor_ril_ipo_prop) + +# Date : WK18.26 +# Operation: P migration +# Purpose: Allow carrier express HIDL to set vendor property +set_prop(rild, mtk_cxp_vendor_prop) \ No newline at end of file diff --git a/non_plat/mtkrild.te b/non_plat/mtkrild.te index 686e122..c7cdd97 100644 --- a/non_plat/mtkrild.te +++ b/non_plat/mtkrild.te @@ -124,3 +124,8 @@ get_prop(mtkrild, tel_switch_prop) #Date: W1817 #Purpose: allow rild access property of vendor_radio_prop set_prop(mtkrild, vendor_radio_prop) + +# Date : WK18.26 +# Operation: P migration +# Purpose: Allow carrier express HIDL to set vendor property +set_prop(mtkrild, mtk_cxp_vendor_prop) diff --git a/non_plat/rilproxy.te b/non_plat/rilproxy.te index b422f25..b6b51a8 100644 --- a/non_plat/rilproxy.te +++ b/non_plat/rilproxy.te @@ -53,3 +53,7 @@ allow rild hal_audio_hwservice:hwservice_manager find; #Purpose: allow rild access to vendor.ril.ipo system property set_prop(mtkrild, vendor_ril_ipo_prop) +# Date : WK18.26 +# Operation: P migration +# Purpose: Allow carrier express HIDL to set vendor property +set_prop(mtkrild, mtk_cxp_vendor_prop)