commit | fb21bd86a86e5fa8d94b4fc89226e22e9efb86a2 | [log] [tgz] |
---|---|---|
author | Wei Wang <wvw@google.com> | Thu Jan 10 14:16:23 2019 -0800 |
committer | Wei Wang <wvw@google.com> | Thu Jan 10 14:21:59 2019 -0800 |
tree | 8c5f2a7346831044a7dda4efd3d30925304724c0 | |
parent | ffdf092a77c6f6c8998394405d43f22ae54dfede [diff] |
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