Add System Property to Specify NTN Demo Mode Enabled
"telephony.ril.ntn_demo_mode" Property is added which specifies RIL about NTN Demo Mode. BUG: b/321178074 Test: Set the property in the service. Change-Id: I8baca9ceaf364b579293679cabe26c33e0a4ec1e
This commit is contained in:
parent
365355875e
commit
ab78d95fb8
5 changed files with 5 additions and 0 deletions
|
@ -5,3 +5,4 @@ allow pixelntnservice_app app_api_service:service_manager find;
|
|||
allow pixelntnservice_app radio_service:service_manager find;
|
||||
set_prop(pixelntnservice_app, telephony_modem_prop)
|
||||
get_prop(pixelntnservice_app, telephony_modemtype_prop)
|
||||
set_prop(pixelntnservice_app, telephony_ntn_demo_mode_prop)
|
||||
|
|
|
@ -2,3 +2,4 @@
|
|||
telephony.TnNtn.image_switch u:object_r:telephony_modem_prop:s0 exact enum ntn tn
|
||||
telephony.ril.modem_bin_status u:object_r:telephony_modemtype_prop:s0 exact uint
|
||||
telephony.ril.silent_reset u:object_r:telephony_ril_prop:s0 exact bool
|
||||
telephony.ril.ntn_demo_mode u:object_r:telephony_ntn_demo_mode_prop:s0 exact bool
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
system_public_prop(telephony_ril_prop)
|
||||
system_restricted_prop(telephony_modem_prop)
|
||||
system_public_prop(telephony_modemtype_prop)
|
||||
system_restricted_prop(telephony_ntn_demo_mode_prop)
|
||||
|
||||
userdebug_or_eng(`
|
||||
set_prop(shell, telephony_ril_prop)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue