hal_health_default: updated sepolicy

This allows the android.hardware.health service to access
AIDL Stats service

Bug: 237639591
Test: Build, flash, boot & and logcat | grep "avc"
Change-Id: I71013c0b17ee5e526387efa0afb823f97775e572
This commit is contained in:
Vova Sharaienko 2022-09-16 18:58:26 +00:00
parent 7c6154bdce
commit 87bc6d189d

View file

@ -7,6 +7,9 @@ set_prop(hal_health_default, vendor_battery_defender_prop)
allow hal_health_default sysfs_scsi_devices_0000:dir r_dir_perms;
allow hal_health_default sysfs_scsi_devices_0000:file rw_file_perms;
allow hal_health_default fwk_stats_service:service_manager find;
binder_use(hal_health_default)
allow hal_health_default sysfs_wlc:dir search;
allow hal_health_default sysfs_batteryinfo:file w_file_perms;
allow hal_health_default sysfs_thermal:dir search;