Add permissions to connect radioext to twoshay.

Connection through grilantennatuningservice binder call.

Test: manual
Bug: 258970389
Change-Id: I419b40042cce363428f72fa723adf89bcf269ef4
This commit is contained in:
Alan 2023-03-10 23:55:54 +08:00 committed by Alan Chen
parent 3fae47e04b
commit afafafd8a4
2 changed files with 8 additions and 0 deletions

View file

@ -18,3 +18,9 @@ allow hal_radioext_default radio_vendor_data_file:file create_file_perms;
# Bluetooth
allow hal_radioext_default hal_bluetooth_coexistence_hwservice:hwservice_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,2 +1,4 @@
# Allow ITouchContextService callback
binder_call(twoshay, systemui_app)
binder_call(twoshay, hal_radioext_default)