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:
parent
d90ebc1fdb
commit
c09931ad38
1 changed files with 3 additions and 0 deletions
3
vendor/hal_camera_default.te
vendored
3
vendor/hal_camera_default.te
vendored
|
@ -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)')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue