From e5ab2615b64960739538bf48921e9468f03df300 Mon Sep 17 00:00:00 2001 From: Jprimero15 Date: Fri, 1 Sep 2023 19:43:57 +0800 Subject: [PATCH] vendor: copy charger init from charging component * not all device are using init component and component should not be dependent into other components just to fully work. Change-Id: I92aa70c2bdaf92fa93819cb673b7ee67c5d5d1e0 --- vendor/charging/qti-charging.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor/charging/qti-charging.mk b/vendor/charging/qti-charging.mk index 5ebf6716..817f0ec5 100644 --- a/vendor/charging/qti-charging.mk +++ b/vendor/charging/qti-charging.mk @@ -19,6 +19,9 @@ else PRODUCT_PACKAGES += \ android.hardware.health@2.1-impl-qti \ android.hardware.health@2.1-service + +PRODUCT_COPY_FILES += \ + $(QCOM_COMMON_PATH)/vendor/init/init.charger_service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.charger_service.rc endif # Suspend