mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 14:29:33 +00:00
Coredomain apps shouldn't be labeled with vendor sepolicy, due to Treble violation. Bug: 280547417 Test: TH Change-Id: If768b5cb9f3b4024893117d8e3bf49adb7c5b070 Merged-In: If768b5cb9f3b4024893117d8e3bf49adb7c5b070
13 lines
493 B
Plaintext
13 lines
493 B
Plaintext
userdebug_or_eng(`
|
|
# 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;
|
|
|
|
# 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 };
|
|
')
|