summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--device.mk8
-rw-r--r--manifest.xml2
2 files changed, 9 insertions, 1 deletions
diff --git a/device.mk b/device.mk
index 11fa81a..3a70274 100644
--- a/device.mk
+++ b/device.mk
@@ -93,3 +93,11 @@ $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-he
# set default USB configuration
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp
+
+#To remove healthd from the build
+PRODUCT_PACKAGES += android.hardware.health@2.0-service.override
+DEVICE_FRAMEWORK_MANIFEST_FILE += \
+ system/libhidl/vintfdata/manifest_healthd_exclude.xml
+
+#To keep healthd in the build
+PRODUCT_PACKAGES += android.hardware.health@2.0-service
diff --git a/manifest.xml b/manifest.xml
index e3346cd..2952afa 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -237,7 +237,7 @@
<hal format="hidl">
<name>android.hardware.health</name>
<transport>hwbinder</transport>
- <version>1.0</version>
+ <version>2.0</version>
<interface>
<name>IHealth</name>
<instance>default</instance>