Allow camera hal to access aoc device

Camera team needs to talk to aoc device in order to use libusf.
It will do this instead of talking to rlsservice. Soon, we can
remove rlsservice from the se policy for camera hal.

Bug: 277959222
Test: manual test, logs provided in comments
Change-Id: I7453fd94891dcc0c1c587bccb3bb6cff80f46e8b
This commit is contained in:
timmyli 2023-04-19 06:07:15 +00:00 committed by Timmy Li
parent d90ebc1fdb
commit c09931ad38

View file

@ -84,6 +84,9 @@ binder_call(hal_camera_default, hal_radioext_default);
allow hal_camera_default rls_service:service_manager find;
binder_call(hal_camera_default, rlsservice)
# Allow access to always-on compute device node
allow hal_camera_default aoc_device:chr_file rw_file_perms;
# Allow camera HAL to send trace packets to Perfetto
userdebug_or_eng(`perfetto_producer(hal_camera_default)')