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
diff --git a/Android.bp b/Android.bp
index eb9cbbb..5dc34a5 100644
--- a/Android.bp
+++ b/Android.bp
@@ -731,6 +731,7 @@
"android.hardware.contexthub-V1.0-java",
"android.hardware.health-V1.0-java-constants",
"android.hardware.thermal-V1.0-java-constants",
+ "android.hardware.thermal-V1.0-java",
"android.hardware.thermal-V1.1-java",
"android.hardware.thermal-V2.0-java",
"android.hardware.tv.input-V1.0-java-constants",