Snap for 9414670 from f5a88c35a4 to tm-qpr2-release

Change-Id: I78749312c952346ab00f38c0145e5cab9e014c02
This commit is contained in:
Android Build Coastguard Worker 2022-12-17 02:02:55 +00:00
commit bfcae7eb32
2 changed files with 3 additions and 0 deletions

View file

@ -213,6 +213,7 @@
/data/vendor/sensors/debug(/.*)? u:object_r:sensor_debug_data_file:s0
/data/vendor/sensors/registry(/.*)? u:object_r:sensor_reg_data_file:s0
/data/vendor/uwb(/.*)? u:object_r:uwb_data_vendor:s0
/dev/maxfg_history u:object_r:battery_history_device:s0
/dev/battery_history u:object_r:battery_history_device:s0
/data/vendor/powerstats(/.*)? u:object_r:powerstats_vendor_data_file:s0
/data/vendor/mitigation(/.*)? u:object_r:mitigation_vendor_data_file:s0

View file

@ -102,6 +102,8 @@ allow hal_dumpstate_default vendor_shell_exec:file execute_no_trans;
allow hal_dumpstate_default proc_vendor_sched:dir r_dir_perms;
allow hal_dumpstate_default proc_vendor_sched:file r_file_perms;
allow hal_dumpstate_default battery_history_device:chr_file r_file_perms;
userdebug_or_eng(`
allow hal_dumpstate_default sysfs_leds:dir search;
allow hal_dumpstate_default sysfs_leds:file rw_file_perms;