summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2020-12-08 22:03:48 +0000
committerMichael Bestas <mkbestas@lineageos.org>2020-12-27 14:54:25 +0200
commit6e76fdd15981f03ca2dfe48d33a0c859d15e81df (patch)
tree777dbc7fff95b99f7770be6912a4d3917aa692e3
parent51a3e0ee8434c2a8c2f46329813e9468bfc47533 (diff)
sdm660-common: Migrate to Health 2.1 HAL
Change-Id: Ic6302844ac58c16713b43b6871a705b9b4749a96
-rw-r--r--configs/manifests/manifest.xml9
-rw-r--r--sdm660.mk8
2 files changed, 7 insertions, 10 deletions
diff --git a/configs/manifests/manifest.xml b/configs/manifests/manifest.xml
index 67bbc02..546b679 100644
--- a/configs/manifests/manifest.xml
+++ b/configs/manifests/manifest.xml
@@ -220,15 +220,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</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>
- <hal format="hidl">
<name>android.hardware.radio</name>
<transport>hwbinder</transport>
<fqname>@1.4::IRadio/slot1</fqname>
diff --git a/sdm660.mk b/sdm660.mk
index cad0b2a..88c4d38 100644
--- a/sdm660.mk
+++ b/sdm660.mk
@@ -266,7 +266,13 @@ PRODUCT_COPY_FILES += \
# Healthd
PRODUCT_PACKAGES += \
- android.hardware.health@2.0-service
+ android.hardware.health@2.1-impl:64 \
+ android.hardware.health@2.1-service
+
+ifneq ($(AB_OTA_UPDATER),true)
+PRODUCT_PACKAGES += \
+ android.hardware.health@2.1-impl.recovery
+endif
# HIDL
PRODUCT_PACKAGES += \