Add network permissions for debug camera

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
This commit is contained in:
Sherry Luo 2022-09-09 21:29:43 +00:00
parent 6cb9f4e623
commit 9dd930e4c2

View file

@ -2,6 +2,7 @@ type debug_camera_app, domain, coredomain;
userdebug_or_eng(` userdebug_or_eng(`
app_domain(debug_camera_app) app_domain(debug_camera_app)
net_domain(debug_camera_app)
allow debug_camera_app app_api_service:service_manager find; allow debug_camera_app app_api_service:service_manager find;
allow debug_camera_app audioserver_service:service_manager find; allow debug_camera_app audioserver_service:service_manager find;