betterbug: Fixed sepolicy related to File [DO NOT MERGE]

Added File Attachment sepolicy for betterbug

Bug: 237287659
Test: Attach files from local directory and confirm it can be attached.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ie2ee163794a4b955915a1b62b12d5aa625931034
This commit is contained in:
George Lee 2022-11-07 16:57:22 -08:00 committed by TreeHugger Robot
parent 35112bba62
commit 8427e1db8d

View file

@ -3,6 +3,7 @@ type better_bug_app, domain, coredomain;
userdebug_or_eng(`
app_domain(better_bug_app)
net_domain(better_bug_app)
allow better_bug_app shell_data_file:file read;
allow better_bug_app app_api_service:service_manager find;
allow better_bug_app system_api_service:service_manager find;
allow better_bug_app privapp_data_file:file execute;