Note that this only adds permission to GCARelease and GCADogfood, while GCANext and GCAEng are still untrusted app on zuma now and after this change GCANext and GCAEng will still be denied. Bug: 264490031 Test: Portrait processing in GCARelease didn't get denial message when accessing PowerHAL after this change (https://cnsviewer-static.corp.google.com/cns/md-d/home/pixel-camera-data-readers/acat/hwandy/ag/22215364?user=pixel-camera-data-readers). Change-Id: Ia4a4c2f24215b9da9db7985cf67112997df355fa
8 lines
273 B
Text
8 lines
273 B
Text
type google_camera_app, domain, coredomain;
|
|
app_domain(google_camera_app)
|
|
|
|
# Allows camera app to access the GXP device.
|
|
allow google_camera_app gxp_device:chr_file rw_file_perms;
|
|
|
|
# Allows camera app to access the PowerHAL.
|
|
hal_client_domain(google_camera_app, hal_power)
|