hal_audiocontrol: use hal_attribute_service

This macro creates the necessary neverallow to assert the
hal_audiocontrol_{client,server} attribute has exclusive ownership of
the service.

Bug: 176180039
Test: build/TH
Change-Id: I2046e31f5cf04b560b842a03eafbec597443f15f
This commit is contained in:
Steven Moreland 2020-12-23 01:26:58 +00:00
parent 831fddd794
commit 42a02d77ed

View file

@ -3,8 +3,6 @@ binder_call(hal_audiocontrol_client, hal_audiocontrol_server)
binder_call(hal_audiocontrol_server, hal_audiocontrol_client)
hal_attribute_hwservice(hal_audiocontrol, hal_audiocontrol_hwservice)
hal_attribute_service(hal_audiocontrol, hal_audiocontrol_service)
add_service(hal_audiocontrol_server, hal_audiocontrol_service)
binder_call(hal_audiocontrol_server, servicemanager)
allow hal_audiocontrol_client hal_audiocontrol_service:service_manager find;