Camera: Allow camera to access GPU device
Add rule to access GPU device. Change-Id: I7fb469c478184075f7bf2c50e8a256d6c392a9dc
This commit is contained in:
parent
354070317e
commit
635f6ca03c
1 changed files with 3 additions and 0 deletions
3
generic/vendor/common/hal_camera.te
vendored
3
generic/vendor/common/hal_camera.te
vendored
|
@ -62,3 +62,6 @@ r_dir_file(hal_camera_default, sysfs_graphics)
|
|||
r_dir_file(hal_camera, adsprpcd_file);
|
||||
#allow camera to access adsprpc_prop
|
||||
get_prop(hal_camera, vendor_adsprpc_prop)
|
||||
|
||||
# This is needed to access GPU
|
||||
allow hal_camera_default gpu_device:chr_file rw_file_perms;
|
||||
|
|
Loading…
Reference in a new issue