Statsd sepolicy hal_health
Statsd monitors battery capacity, which requires calls to the health hal. Fixes: 77923174 Bug: 77916472 Test: run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.atom.HostAtomTests#testFullBatteryCapacity Change-Id: I2d6685d4b91d8fbc7422dfdd0b6ed96bbddc0886
This commit is contained in:
parent
45c72ddfcf
commit
1300945c12
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ binder_call(statsd, stats)
|
|||
|
||||
# Allow access to with hardware layer and process stats.
|
||||
allow statsd proc_uid_cputime_showstat:file { getattr open read };
|
||||
hal_client_domain(statsd, hal_health)
|
||||
hal_client_domain(statsd, hal_power)
|
||||
hal_client_domain(statsd, hal_thermal)
|
||||
|
||||
|
|
Loading…
Reference in a new issue