Merge "Allow camera to acquire wakelocks." into main

This commit is contained in:
Krzysztof Kosiński 2024-02-23 15:37:27 +00:00 committed by Android (Google) Code Review
commit 7c919c2a2b
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 access to always-on compute device node
allow hal_camera_default aoc_device:chr_file rw_file_perms; 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)