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>
diff --git a/battery_mitigation/sepolicy/better_bug_app.te b/battery_mitigation/sepolicy/better_bug_app.te
index 41d403b..6813024 100644
--- a/battery_mitigation/sepolicy/better_bug_app.te
+++ b/battery_mitigation/sepolicy/better_bug_app.te
@@ -3,6 +3,7 @@
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;