device_google_zumapro/vendor/twoshay.te
Imo Richard Umoren 52fe3a2703 Add CHRE SELinux Permissions for Twoshay [Zuma Pro]
Adds permissions for chre socket to SELinux policy.
Used for the Wallaby nanoapp.

Bug: b/324278826
Test: Manually tested on zuma pro devices
Change-Id: Ied113002ec0650607f657cc47d183635916ae83e
2024-02-08 02:09:58 +00:00

10 lines
No EOL
356 B
Text

# Allow ITouchContextService callback
binder_call(twoshay, systemui_app)
binder_call(twoshay, hal_radioext_default)
# b/324278826
unix_socket_connect(twoshay, chre, chre)
# TODO(b/248615564): Remove above rule after CHRE multiclient HAL is launched.
unix_socket_connect(twoshay, chre, hal_contexthub_default)
allow twoshay self:capability2 block_suspend;