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: I363b44a1a44184df05449ceb97089bb9e0211550
This commit is contained in:
parent
7bf1eb8960
commit
7d7f055d46
4 changed files with 12 additions and 0 deletions
2
system_ext/private/property_contexts
Normal file
2
system_ext/private/property_contexts
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Telephony
|
||||
telephony.ril.silent_reset u:object_r:telephony_ril_prop:s0 exact bool
|
6
system_ext/public/property.te
Normal file
6
system_ext/public/property.te
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Telephony
|
||||
system_public_prop(telephony_ril_prop)
|
||||
|
||||
userdebug_or_eng(`
|
||||
set_prop(shell, telephony_ril_prop)
|
||||
')
|
Loading…
Add table
Add a link
Reference in a new issue