Allow camera to acquire wakelocks.

This is already allowed on all other Google chips and used
for a face auth latency optimization.

Fix: 303391687
Test: check logs on raven
Change-Id: I6f70b70d1cf4c055ce9f3e76c1fca0ae0c3e070d
This commit is contained in:
Krzysztof Kosiński 2024-02-23 03:00:08 +00:00
parent ea03d9909d
commit 6f152690d9
2 changed files with 3 additions and 2 deletions

View file

@ -1,2 +0,0 @@
#b/303391687
dontaudit hal_camera_default hal_system_suspend_service:service_manager find ;

View file

@ -111,3 +111,6 @@ dontaudit hal_camera_default traced_producer_socket:sock_file { write };
# Allow access to always-on compute device node
allow hal_camera_default aoc_device:chr_file rw_file_perms;
# Allow the Camera HAL to acquire wakelocks for buffer pre-allocation purposes
wakelock_use(hal_camera_default)