Allow sensor hal to connect to CHRE HAL

These policies are required to let DropDetect and IpHeath communicate
with CHRE HAL directly after CHRE multiclient HAL is enabled.

Bug: 324316275
Test: Trigger drop detection and observed corresponding logs
  are generated.
Change-Id: Icc087b59ff594224d7e637212558e68fb3f86437
This commit is contained in:
Lei Ju 2024-01-23 11:18:55 -08:00
parent f17b5ac127
commit 7e89a679d9
2 changed files with 8 additions and 0 deletions

View file

@ -32,3 +32,6 @@ wakelock_use(hal_contexthub_default)
# Allow context hub HAL to block suspend, which is required to use EPOLLWAKEUP
allow hal_contexthub_default self:global_capability2_class_set block_suspend;
# Allow binder calls with clients
binder_call(hal_contexthub_default, hal_sensors_default)