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

4
vendor/debug_camera_app.te vendored Normal file
View file

@ -0,0 +1,4 @@
userdebug_or_eng(`
# Allows GCA_Eng & GCA-Next to access the hw_jpeg /dev/video12.
allow debug_camera_app hw_jpg_device:chr_file rw_file_perms;
')