summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device-common.mk5
-rw-r--r--manifest.xml9
2 files changed, 14 insertions, 0 deletions
diff --git a/device-common.mk b/device-common.mk
index 3bd59122..77430e15 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -278,3 +278,8 @@ PRODUCT_PACKAGES += \
libunwindstack.vndk-sp\
liblzma.vndk-sp\
libion.vndk-sp\
+
+# Health
+PRODUCT_PACKAGES += \
+ android.hardware.health@2.0-service \
+ android.hardware.health@2.0-impl
diff --git a/manifest.xml b/manifest.xml
index 12d345a8..3d859684 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -174,4 +174,13 @@
<instance>default</instance>
</interface>
</hal>
+ <hal format="hidl">
+ <name>android.hardware.health</name>
+ <transport>hwbinder</transport>
+ <version>2.0</version>
+ <interface>
+ <name>IHealth</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
</manifest>