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
3
vendor/hal_camera_default.te
vendored
3
vendor/hal_camera_default.te
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue