betterbug: Fixed sepolicy related to File

Added File Attachment sepolicy for betterbug

Bug: 237287659
Test: Attach files from local directory and confirm it can be attached.
Change-Id: I2e77894d4b12a302f0498aab3aa59be6fb95b795
Signed-off-by: George Lee <geolee@google.com>
(cherry picked from commit 27725bd144)
Merged-In: I2e77894d4b12a302f0498aab3aa59be6fb95b795
This commit is contained in:
George Lee 2022-11-07 16:54:45 -08:00 committed by Android Build Coastguard Worker
parent 58a79d431e
commit a623effaa3

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;