summaryrefslogtreecommitdiff
authorjie.yuan <jie.yuan@amlogic.com>2018-06-27 02:14:43 (GMT)
committer jie.yuan <jie.yuan@amlogic.com>2018-06-27 02:14:43 (GMT)
commit9321f2bbe796400420375d082cc3444c06682639 (patch)
tree98e87d8e7325f410fe558f51e152fb597a22346f
parent23d5df596b318182cf5f808d9560efb7891c2c7f (diff)
downloadcurie-9321f2bbe796400420375d082cc3444c06682639.zip
curie-9321f2bbe796400420375d082cc3444c06682639.tar.gz
curie-9321f2bbe796400420375d082cc3444c06682639.tar.bz2
curie:update from 1.0 to 2.0[1/1]
PD# 167575 healthHAL update from 1.0 to 2.0 Change-Id: I2b5f0b99f93b9a97256ea39ee663e46548d3112d Signed-off-by: jie.yuan <jie.yuan@amlogic.com>
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 7ba7de0..449d94a 100644
--- a/device.mk
+++ b/device.mk
@@ -82,3 +82,11 @@ $(call inherit-product, frameworks/native/build/tablet-7in-hdpi-1024-dalvik-heap
# 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 39e47ba..aaea9ef 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -219,7 +219,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>