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:
parent
aaaf45379c
commit
0b7ef4e53b
5 changed files with 13 additions and 0 deletions
4
vendor/debug_camera_app.te
vendored
Normal file
4
vendor/debug_camera_app.te
vendored
Normal 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;
|
||||
')
|
Loading…
Add table
Add a link
Reference in a new issue