Noticed that Estrella upload failing w/ java.lang.SecurityException: Permission denied (missing INTERNET permission?) Followed investigation in b/230434151. Verified that upload working once this change is flashed. Test: Flash build w/ local change Test: Take a picture and upload using Estrella Test: Verify that the upload succeeded BUG=245995782 Change-Id: I505af355f25e9063927c946ee8af21de25758ef1
22 lines
831 B
Text
22 lines
831 B
Text
type debug_camera_app, domain, coredomain;
|
|
|
|
userdebug_or_eng(`
|
|
app_domain(debug_camera_app)
|
|
net_domain(debug_camera_app)
|
|
|
|
allow debug_camera_app app_api_service:service_manager find;
|
|
allow debug_camera_app audioserver_service:service_manager find;
|
|
allow debug_camera_app cameraserver_service:service_manager find;
|
|
allow debug_camera_app mediaextractor_service:service_manager find;
|
|
allow debug_camera_app mediametrics_service:service_manager find;
|
|
allow debug_camera_app mediaserver_service:service_manager find;
|
|
|
|
# Allows camera app to access the GXP device.
|
|
allow debug_camera_app gxp_device:chr_file rw_file_perms;
|
|
|
|
# Allows camera app to search for GXP firmware file.
|
|
allow debug_camera_app vendor_fw_file:dir search;
|
|
|
|
# Allows camera app to access the PowerHAL.
|
|
hal_client_domain(debug_camera_app, hal_power)
|
|
')
|