diff --git a/non_plat/property.te b/non_plat/property.te index 610cda0..4d828ff 100644 --- a/non_plat/property.te +++ b/non_plat/property.te @@ -176,6 +176,15 @@ type mtk_venc_h264_showlog_prop, property_type, mtk_core_property_type; #=============allow em to set modem warning_prop property================ type mtk_modem_warning_prop, property_type, mtk_core_property_type; +#=============allow em to set bgdata disabled property================ +type mtk_bgdata_disabled, property_type, mtk_core_property_type; + +#=============allow em to set telecom vibrate property================ +type mtk_telecom_vibrate, property_type, mtk_core_property_type; + +#=============allow em to set gprs attach type property================ +type mtk_gprs_attach_type, property_type, mtk_core_property_type; + #=============allow meta_tst to stop specific service =============== type ctl_mobile_log_d_prop, property_type; type ctl_mnld_prop, property_type; diff --git a/non_plat/property_contexts b/non_plat/property_contexts index ce83c1c..ef6f642 100644 --- a/non_plat/property_contexts +++ b/non_plat/property_contexts @@ -172,6 +172,14 @@ vendor.mtk.venc.h264.showlog u:object_r:mtk_venc_h264_showlog_prop:s0 #=============allow em to set modem warning property================ persist.vendor.radio.modem.warning u:object_r:mtk_modem_warning_prop:s0 +#=============allow em to set bgdata disabled property================ +persist.vendor.radio.bgdata.disabled u:object_r:mtk_bgdata_disabled:s0 + +#=============allow em to set telecom vibrate property================ +persist.vendor.radio.telecom.vibrate u:object_r:mtk_telecom_vibrate:s0 + +#=============allow em to set gprs attach type property================ +persist.vendor.radio.gprs.attach.type u:object_r:mtk_gprs_attach_type:s0 #=============allow system server to set meta_connecttype property ============== persist.vendor.meta.connecttype u:object_r:meta_connecttype_prop:s0 diff --git a/non_plat/radio.te b/non_plat/radio.te index 11ae68d..2bb02cd 100644 --- a/non_plat/radio.te +++ b/non_plat/radio.te @@ -197,3 +197,18 @@ set_prop(radio, vendor_sim_system_prop) # Date : 2018/07/03 # Purpose : Allow Mwi to get vendor default properties (ro.vendor.*) get_prop(radio, vendor_default_prop) + +# Operation : DEBUG +# Purpose : Allow to use mtk_bgdata_disabled +set_prop(radio, mtk_bgdata_disabled) + +# Date : 2018/07/03 +# Operation : DEBUG +# Purpose : Allow to use mtk_telecom_vibrate +set_prop(radio, mtk_telecom_vibrate) + +# Date : 2018/07/03 +# Operation : DEBUG +# Purpose : Allow to use mtk_gprs_attach_type +set_prop(radio, mtk_gprs_attach_type) +