[ALPS03804621] [P migration] Add property context

[Detail]
Add the following prefix property to vendor_radio_prop:
vendor.ril.
ro.vendor.ril.
vendor.gsm.
persist.vendor.radio

And declare permission at te file.

MTK-Commit-Id: 2754547c48d8cb78008c8b59e01d43e8d242813a

Change-Id: I593d7d1cdaf0caa5a92c65d0f7b03591cc8cbac8
CR-Id: ALPS03804621
Feature: DSDS (Dual SIM Dual Standby) Framework-Common Framework(RIL)
This commit is contained in:
Allen Chu 2020-01-18 09:39:37 +08:00
parent 56f34167cf
commit 64d6f4722e
5 changed files with 20 additions and 0 deletions

View File

@ -140,3 +140,7 @@ allow rild vendor_toolbox_exec:file {execute_no_trans};
# Operation: P migration
# Purpose: Allow rild to get tel_switch_prop
get_prop(rild, tel_switch_prop)
#Date: W1817
#Purpose: allow rild access property of vendor_radio_prop
set_prop(rild, vendor_radio_prop)

View File

@ -137,3 +137,7 @@ set_prop(mtkrild, vendor_ril_ipo_prop)
# Operation: P migration
# Purpose: Allow mtkrild to get tel_switch_prop
get_prop(mtkrild, tel_switch_prop)
#Date: W1817
#Purpose: allow rild access property of vendor_radio_prop
set_prop(mtkrild, vendor_radio_prop)

View File

@ -165,3 +165,5 @@ type atm_ipaddr_prop, property_type;
#=============allow consyslogger==============
type vendor_consyslogger_prop, property_type, mtk_core_property_type;
#=============radio group property=============
type vendor_radio_prop, property_type, mtk_core_property_type;

View File

@ -171,3 +171,9 @@ persist.atm.ipaddress u:object_r:atm_ipaddr_prop:s0
#=============allow consyslogger==============
vendor.consyslogger u:object_r:vendor_consyslogger_prop:s0
#============Label telephony property=======#
vendor.ril. u:object_r:vendor_radio_prop:s0
ro.vendor.ril. u:object_r:vendor_radio_prop:s0
vendor.gsm. u:object_r:vendor_radio_prop:s0
persist.vendor.radio. u:object_r:vendor_radio_prop:s0

View File

@ -186,3 +186,7 @@ get_prop(radio, persist_uce_prop)
# Operation: P migration
# Purpose: Allow radio to get tel_switch_prop
get_prop(radio, tel_switch_prop)
#Date: W1817
#Purpose: allow rild access property of vendor_radio_prop
set_prop(radio, vendor_radio_prop)