Snap for 9178587 from 5c48a90285 to tm-qpr2-release

Change-Id: I70b20b159a51269b65983265c961343d70600cbd
This commit is contained in:
Android Build Coastguard Worker 2022-10-15 01:03:25 +00:00
commit 15023a4630
6 changed files with 13 additions and 3 deletions

View 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)
')

View file

@ -26,3 +26,7 @@ allow pixelstats_vendor sysfs_pca:file rw_file_perms;
#Thermal
r_dir_file(pixelstats_vendor, sysfs_thermal)
allow pixelstats_vendor sysfs_thermal:lnk_file r_file_perms;
# BCL
allow pixelstats_vendor sysfs_bcl:dir search;
allow pixelstats_vendor sysfs_bcl:file r_file_perms;

View file

@ -39,5 +39,4 @@ vendor_internal_prop(vendor_telephony_app_prop)
# Battery Mitigation
vendor_internal_prop(vendor_mitigation_ready_prop)
vendor_internal_prop(vendor_brownout_boot_reason_prop)
vendor_internal_prop(vendor_startup_bugreport_requested_prop)

View file

@ -109,5 +109,4 @@ vendor.config.debug. u:object_r:vendor_telephony_app_prop:
# Battery Mitigation
vendor.brownout.mitigation.ready u:object_r:vendor_mitigation_ready_prop:s0
vendor.brownout_boot_reason u:object_r:vendor_brownout_boot_reason_prop:s0
vendor.startup_bugreport_requested u:object_r:vendor_startup_bugreport_requested_prop:s0

View file

@ -71,3 +71,6 @@ user=system seinfo=platform name=com.google.android.CatEngine domain=cat_engine_
# CccDkTimeSyncService
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

View file

@ -37,5 +37,4 @@ set_prop(vendor_init, vendor_battery_defender_prop)
set_prop(vendor_init, vendor_display_prop)
# Battery Mitigation
set_prop(vendor_init, vendor_brownout_boot_reason_prop)
set_prop(vendor_init, vendor_startup_bugreport_requested_prop)