From 2cf97f4493dec4eb578494708e3a53714955a3bb Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Thu, 27 Aug 2020 17:24:04 -0700 Subject: [PATCH] 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 Signed-off-by: Chenyang Zhong Signed-off-by: DennySPb --- device.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/device.mk b/device.mk index bb7fbc4..ecef237 100644 --- a/device.mk +++ b/device.mk @@ -137,8 +137,7 @@ PRODUCT_PACKAGES += \ # Health PRODUCT_PACKAGES += \ - android.hardware.health@2.1-impl \ - android.hardware.health@2.1-impl.recovery \ + android.hardware.health@2.1-impl-qti \ android.hardware.health@2.1-service # HIDL