diff --git a/private/property_contexts b/private/property_contexts index f92e5580e..48f6b5365 100644 --- a/private/property_contexts +++ b/private/property_contexts @@ -511,6 +511,7 @@ bluetooth.profile.vc.server.enabled u:object_r:bluetooth_config persist.nfc.debug_enabled u:object_r:nfc_prop:s0 exact bool persist.radio.multisim.config u:object_r:radio_control_prop:s0 exact string +persist.radio.allow_mock_modem u:object_r:radio_control_prop:s0 exact bool persist.sys.hdmi.keep_awake u:object_r:hdmi_config_prop:s0 exact bool ro.hdmi.cec_device_types u:object_r:hdmi_config_prop:s0 exact string diff --git a/public/app.te b/public/app.te index 09e30ca36..da240121b 100644 --- a/public/app.te +++ b/public/app.te @@ -203,6 +203,9 @@ neverallow { # allow system_app to access Nfc-related system properties. set_prop(system_app, nfc_prop) +# allow system_app to access radio_config system properties. +set_prop(system_app, radio_control_prop) + # Apps cannot access proc_uid_time_in_state neverallow appdomain proc_uid_time_in_state:file *;