healthd connect to health@1.0 hal
This is the original code path (BatteryService
-> healthd -> health 1.0 HAL). This ensures
upgrade-ability for old devices to P.
This is a partial revert of
287c41fffeb144476092766466b86db9cfaf5e8c, with
some modifications to the original healthd_board_*
functions for healthd.
Bug: 65990106
Test: VTS test for healthd and health service
Change-Id: If1c65e64e2fd6750369d52c8051ca6aa2b57ef27
diff --git a/healthd/Android.bp b/healthd/Android.bp
index 21c0ef0..ed1413e 100644
--- a/healthd/Android.bp
+++ b/healthd/Android.bp
@@ -102,6 +102,7 @@
"libhwbinder",
"liblog",
"libutils",
+ "android.hardware.health@1.0",
"android.hardware.health@2.0",
],