Skip to content
Commit fb21bd86 authored by Wei Wang's avatar Wei Wang
Browse files

ThermalManagerservice: add legacy Thermal HAL 1.0 polling support

For legacy Thermal HAL 1.0, we cannot get notification but we still can
support the getCurrentTemperatures API.

Bug: 119228310
Test: manually on a device with Thermal HAL 1.0
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/ThermalManagerServiceTest.java
Change-Id: Ibe1784e4a904393113f8716db4e5af24debcdc8f
parent ffdf092a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment