Remove legacy camera HAL policy.
All of these accesses are still needed. Bug: 313934097 Test: presubmit Change-Id: I5222a7416d7cffed0d84b1a4c80f74edc4aadd49
This commit is contained in:
parent
a1d7364f1f
commit
6d632595b6
4 changed files with 100 additions and 98 deletions
8
vendor/google_camera_app.te
vendored
8
vendor/google_camera_app.te
vendored
|
@ -1,2 +1,10 @@
|
|||
# Allows GCA to acccess the GXP device & properties.
|
||||
allow google_camera_app gxp_device:chr_file rw_file_perms;
|
||||
get_prop(google_camera_app, vendor_gxp_prop)
|
||||
|
||||
# Allows GCA to find and access the EdgeTPU.
|
||||
allow google_camera_app edgetpu_app_service:service_manager find;
|
||||
allow google_camera_app edgetpu_device:chr_file { getattr read write ioctl map };
|
||||
|
||||
# Allows GCA to access the hw_jpeg /dev/video12.
|
||||
allow google_camera_app hw_jpg_device:chr_file rw_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue