summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2020-08-27 17:24:04 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2020-09-02 11:21:23 -0700
commit950cd8a68291f43361ff85904e15c8be025c240c (patch)
tree58aad946a69c2c47854ace9540c3250257588be1
parent9e5f7876e2b01a9e6208a63d8cf5209f6d614d7b (diff)
vendor-common: Add QTI health implementation
Add QTI health implementation so that it waits for battery power supply for a max timeout of 5 seconds. This is to ensure by the time health HAL service starts, battery power supply device is available. Without this, health HAL couldn't find battery power supply sometimes because of the time taken for battery charger driver to probe on platforms where it can happen only after the remote subsytem is bought out of reset. Change-Id: I96ee53ef15dd61c98d317e9ec221456ca564249f
-rw-r--r--base.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/base.mk b/base.mk
index 179fe48..efa7389 100644
--- a/base.mk
+++ b/base.mk
@@ -941,9 +941,6 @@ PRODUCT_PACKAGES += vcard
# tcmiface for tcm support
PRODUCT_PACKAGES += tcmiface
-# healthd libaray expanded for mode charger
-PRODUCT_PACKAGES += libhealthd.msm
-
#intialise PRODUCT_PACKAGES_DEBUG list for debug modules
PRODUCT_PACKAGES_DEBUG := init.qcom.testscripts.sh
@@ -1089,9 +1086,8 @@ PRODUCT_PACKAGES_DEBUG += \
PRODUCT_PACKAGES += liboemaids_system
PRODUCT_PACKAGES += liboemaids_vendor
+PRODUCT_PACKAGES += android.hardware.health@2.1-impl-qti
PRODUCT_PACKAGES += android.hardware.health@2.1-service
-PRODUCT_PACKAGES += android.hardware.health@2.1-impl
-PRODUCT_PACKAGES += android.hardware.health@2.1-impl.recovery
# framework detect libs
PRODUCT_PACKAGES += libvndfwk_detect_jni.qti
PRODUCT_PACKAGES += libqti_vndfwk_detect