diff --git a/non_plat/mtkfusionrild.te b/non_plat/mtkfusionrild.te index bcb1bdf..20fdd0a 100644 --- a/non_plat/mtkfusionrild.te +++ b/non_plat/mtkfusionrild.te @@ -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) diff --git a/non_plat/mtkrild.te b/non_plat/mtkrild.te index 4574d1a..8a8f49c 100644 --- a/non_plat/mtkrild.te +++ b/non_plat/mtkrild.te @@ -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) diff --git a/non_plat/property.te b/non_plat/property.te index ea80a2c..da166c3 100644 --- a/non_plat/property.te +++ b/non_plat/property.te @@ -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; diff --git a/non_plat/property_contexts b/non_plat/property_contexts index 09448f3..5ee9fbd 100644 --- a/non_plat/property_contexts +++ b/non_plat/property_contexts @@ -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 diff --git a/non_plat/radio.te b/non_plat/radio.te index 6078d94..97fc44a 100644 --- a/non_plat/radio.te +++ b/non_plat/radio.te @@ -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)