Merge "Add betterbug folder to gs-common" into main

This commit is contained in:
Hongyang Jiao 2024-03-01 01:10:47 +00:00 committed by Android (Google) Code Review
commit f507e4a7f7
4 changed files with 23 additions and 0 deletions

5
betterbug/betterbug.mk Normal file
View file

@ -0,0 +1,5 @@
PRODUCT_PACKAGES += BetterBugStub
PRODUCT_PACKAGES_DEBUG += BetterBug
PRODUCT_PUBLIC_SEPOLICY_DIRS += device/google/gs-common/betterbug/sepolicy/product/public
PRODUCT_PRIVATE_SEPOLICY_DIRS += device/google/gs-common/betterbug/sepolicy/product/private

View file

@ -0,0 +1,15 @@
typeattribute better_bug_app coredomain;
app_domain(better_bug_app)
net_domain(better_bug_app)
allow better_bug_app shell_data_file:file read;
allow better_bug_app privapp_data_file:file execute;
allow better_bug_app app_api_service:service_manager find;
allow better_bug_app system_api_service:service_manager find;
allow better_bug_app mediaserver_service:service_manager find;
set_prop(better_bug_app, ctl_start_prop)
get_prop(better_bug_app, system_boot_reason_prop)

View file

@ -0,0 +1,2 @@
# BetterBug
user=_app isPrivApp=true name=com.google.android.apps.internal.betterbug domain=better_bug_app type=app_data_file levelFrom=all

View file

@ -0,0 +1 @@
type better_bug_app, domain;