blob: 436e93fcc5a462da178a1b6e366e2bbbaa047a5d [file] [log] [blame]
type gallery_app, domain, coredomain;
app_domain(gallery_app)
net_domain(gallery_app)
# Access standard system services
allow gallery_app app_api_service:service_manager find;
allow gallery_app audioserver_service:service_manager find;
allow gallery_app cameraserver_service:service_manager find;
allow gallery_app drmserver_service:service_manager find;
allow gallery_app mediacodec_service:service_manager find;
allow gallery_app mediaextractor_service:service_manager find;
allow gallery_app mediaserver_service:service_manager find;
allow gallery_app mediametrics_service:service_manager find;
allow gallery_app nfc_service:service_manager find;
allow gallery_app surfaceflinger_service:service_manager find;
allow gallery_app hidl_token_hwservice:hwservice_manager find;
# Allow to read and execute camera app modules
typeattribute gallery_app system_executes_vendor_violators;
allow gallery_app vendor_file:file { rx_file_perms };