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