Set up zumapro selinux policy for /dev/video12 access for hardware JPG encoder.

(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ea768217f5f8f2ab32a3f76b4329378c5731aa24)

Bug: b/296330134
Test: https://android-build.corp.google.com/builds/abtd/run/L22000030001255046

Change-Id: I03d99401f5444e5a42e570a039c4838f1141bec9
This commit is contained in:
Angela Wu 2024-01-11 02:02:05 +00:00
parent aaaf45379c
commit 0b7ef4e53b
5 changed files with 13 additions and 0 deletions

View file

@ -1,2 +1,5 @@
# Allow the Camera HAL to acquire wakelocks for buffer pre-allocation purposes
wakelock_use(hal_camera_default)
# Allows camera HAL to access the hw_jpeg /dev/video12.
allow hal_camera_default hw_jpg_device:chr_file rw_file_perms;