Create telephony.ril.silent_reset system_ext property for RILD restart
RILD listens for changes to this property. If the value changes to 1, RILD will restart itself and set this property back to 0. The TelephonyGoogle app will set this property to 1 when it receives a request from the SCONE app. Since TelephonyGoogle runs in the com.android.phone process, we also need to give the radio domain permission to set the telephony.ril.silent_reset property. Bug: 286476107 Test: manual Change-Id: I689e75f4ebf3f44915bd7f795755f297935e7946
This commit is contained in:
parent
d1c4337008
commit
513fa361c8
4 changed files with 14 additions and 0 deletions
|
@ -1,2 +1,5 @@
|
|||
# Fingerprint (UDFPS) GHBM/LHBM toggle
|
||||
persist.fingerprint.ghbm u:object_r:fingerprint_ghbm_prop:s0 exact bool
|
||||
|
||||
# Telephony
|
||||
telephony.ril.silent_reset u:object_r:telephony_ril_prop:s0 exact bool
|
||||
|
|
|
@ -1,2 +1,9 @@
|
|||
# Fingerprint (UDFPS) GHBM/LHBM toggle
|
||||
system_vendor_config_prop(fingerprint_ghbm_prop)
|
||||
|
||||
# Telephony
|
||||
system_public_prop(telephony_ril_prop)
|
||||
|
||||
userdebug_or_eng(`
|
||||
set_prop(shell, telephony_ril_prop)
|
||||
')
|
|
@ -1,3 +1,5 @@
|
|||
set_prop(radio, telephony_ril_prop)
|
||||
|
||||
allow radio proc_vendor_sched:dir r_dir_perms;
|
||||
allow radio proc_vendor_sched:file w_file_perms;
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ get_prop(rild, vendor_carrier_prop)
|
|||
get_prop(rild, sota_prop)
|
||||
get_prop(rild, system_boot_reason_prop)
|
||||
|
||||
set_prop(rild, telephony_ril_prop)
|
||||
|
||||
allow rild proc_net:file rw_file_perms;
|
||||
allow rild radio_vendor_data_file:dir create_dir_perms;
|
||||
allow rild radio_vendor_data_file:file create_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue