summaryrefslogtreecommitdiff
path: root/whitechapel_pro/debug_camera_app.te
diff options
context:
space:
mode:
Diffstat (limited to 'whitechapel_pro/debug_camera_app.te')
-rw-r--r--whitechapel_pro/debug_camera_app.te8
1 files changed, 4 insertions, 4 deletions
diff --git a/whitechapel_pro/debug_camera_app.te b/whitechapel_pro/debug_camera_app.te
index add4b9e..427a773 100644
--- a/whitechapel_pro/debug_camera_app.te
+++ b/whitechapel_pro/debug_camera_app.te
@@ -1,12 +1,12 @@
userdebug_or_eng(`
- # Allows camera app to access the GXP device.
+ # Allows camera app to access the GXP device and properties.
allow debug_camera_app gxp_device:chr_file rw_file_perms;
+ get_prop(debug_camera_app, vendor_gxp_prop)
# Allows camera app to search for GXP firmware file.
allow debug_camera_app vendor_fw_file:dir search;
-')
-userdebug_or_eng(`
+
# Allows GCA-Eng to find and access the EdgeTPU.
allow debug_camera_app edgetpu_app_service:service_manager find;
allow debug_camera_app edgetpu_device:chr_file { getattr read write ioctl map };
-') \ No newline at end of file
+')