betterbug: Add selinux policy for betterbug
Enable Betterbug to read reboot reason such that Betterbug can file bugreport when *uvlo* or *ocp* is found within reboot reason. Bug: 237287659 Test: Load Betterbug for accessing boot reason property Signed-off-by: George Lee <geolee@google.com> Change-Id: Id699be34d2e060ee7827737982403fd58f133c4a
This commit is contained in:
parent
083ba62902
commit
39ffb227b3
2 changed files with 9 additions and 0 deletions
6
whitechapel_pro/better_bug_app.te
Normal file
6
whitechapel_pro/better_bug_app.te
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
type better_bug_app, domain;
|
||||||
|
|
||||||
|
userdebug_or_eng(`
|
||||||
|
app_domain(better_bug_app)
|
||||||
|
get_prop(better_bug_app, vendor_startup_bugreport_requested_prop)
|
||||||
|
')
|
|
@ -71,3 +71,6 @@ user=system seinfo=platform name=com.google.android.CatEngine domain=cat_engine_
|
||||||
|
|
||||||
# CccDkTimeSyncService
|
# CccDkTimeSyncService
|
||||||
user=_app isPrivApp=true name=com.google.pixel.digitalkey.timesync domain=vendor_cccdktimesync_app type=app_data_file levelFrom=all
|
user=_app isPrivApp=true name=com.google.pixel.digitalkey.timesync domain=vendor_cccdktimesync_app type=app_data_file levelFrom=all
|
||||||
|
|
||||||
|
# BetterBug
|
||||||
|
user=_app seinfo=platform name=com.google.android.apps.internal.betterbug domain=better_bug_app type=app_data_file levelFrom=user
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue