Update SEpolicy for grilservice_app register

callbacks of AntennaTuningService. Remove callbacks from radioext native
service to grilservice_app.

Bug: 321790599
Test: Manual test. gripservice_app receive update from callback successfully. Because moving out the callbacks from radioext to grilservice_app, we don't need antennatuningservice bind to radioext anymore.
Change-Id: I6827b506b9893e43d6d9268f623b33b848863a7c
This commit is contained in:
Frank Yu 2024-03-18 02:21:32 +00:00
parent b07155593f
commit f1b959a0ed
2 changed files with 1 additions and 7 deletions

View file

@ -22,9 +22,3 @@ allow hal_radioext_default radio_vendor_data_file:file create_file_perms;
# Bluetooth
allow hal_radioext_default hal_bluetooth_coexistence_hwservice:hwservice_manager find;
allow hal_radioext_default hal_bluetooth_coexistence_service:service_manager find;
# Twoshay
binder_use(hal_radioext_default)
allow hal_radioext_default gril_antenna_tuning_service:service_manager find;
binder_call(hal_radioext_default, gril_antenna_tuning_service)
binder_call(hal_radioext_default, twoshay)

2
vendor/twoshay.te vendored
View file

@ -1,7 +1,7 @@
# Allow ITouchContextService callback
binder_call(twoshay, systemui_app)
binder_call(twoshay, hal_radioext_default)
binder_call(twoshay, grilservice_app)
# b/324278826
unix_socket_connect(twoshay, chre, chre)