Allows GCA to access the hw_jpeg /dev/video12.

Bug: 309578078
Test: https://android-build.corp.google.com/builds/abtd/run/L41100030000291922

Merged-In: I97a96bddaaca9e95f0596cd4eff0d7e80d6023d6
Change-Id: I5b1649ec393d2f998159299b0f4feddcde4da80f
This commit is contained in:
Angela Wu 2023-11-09 08:09:14 +00:00
parent eb2dcaedc8
commit 77ce612093

View file

@ -22,5 +22,8 @@ hal_client_domain(google_camera_app, hal_power)
allow google_camera_app edgetpu_app_service:service_manager find;
allow google_camera_app edgetpu_device:chr_file { getattr read write ioctl map };
# Allows GCA to access the hw_jpeg /dev/video12.
allow google_camera_app hw_jpg_device:chr_file rw_file_perms;
# Library code may try to access vendor properties, but should be denied
dontaudit google_camera_app vendor_default_prop:file { getattr map open };