diff options
author | sashwinbalaji <sashwinbalaji@google.com> | 2022-11-23 18:28:36 +0800 |
---|---|---|
committer | sashwinbalaji <sashwinbalaji@google.com> | 2023-03-07 11:38:18 +0800 |
commit | 8599b93e47513e2e065a1c286d8d167aabafe38d (patch) | |
tree | 9dd715c161c19fdcc82715cbddf3ef9ff1e1d078 | |
parent | 6bcb8713f32fef1f8d46d69bc75cdb6917eed884 (diff) |
thermal: Update hal permission to allow pushing thermalStats events
Ignore-AOSP-First: changes are needed for pixel device feature added in
tm-qpr-dev
Bug: 221430622
Test: Tested locally
Change-Id: Ifa4a6ed7a9147fde5d3d514d4115c8193c72d9c8
Change-Id: I9142aea016d3b84cd853d17e4f6b515bb6a45784
-rw-r--r-- | thermal/hal_thermal_default.te | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/thermal/hal_thermal_default.te b/thermal/hal_thermal_default.te index 2498b20..45ccf3a 100644 --- a/thermal/hal_thermal_default.te +++ b/thermal/hal_thermal_default.te @@ -10,3 +10,7 @@ hal_client_domain(hal_thermal_default, hal_power); # read thermal_config get_prop(hal_thermal_default, vendor_thermal_prop) + +# Needed for reporting thermal stats event +allow hal_thermal_default fwk_stats_service:service_manager find; +binder_call(hal_thermal_default, servicemanager) |