From 97f75cb045320e249dbdb9304241ddfac7f845e7 Mon Sep 17 00:00:00 2001 From: Stricted Date: Mon, 1 Oct 2018 11:13:05 +0200 Subject: [PATCH] universal7580: build power hal Change-Id: Ie8a4b190f53858feb89c942f6e6c9cff4a348985 --- BoardConfigCommon.mk | 1 + device-common.mk | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index e540444..0948167 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -118,6 +118,7 @@ BOARD_USES_SCALER := true # Samsung HALs TARGET_AUDIOHAL_VARIANT := samsung +TARGET_POWERHAL_VARIANT := samsung # Wifi BOARD_WLAN_DEVICE := bcmdhd diff --git a/device-common.mk b/device-common.mk index d72e1be..8218791 100644 --- a/device-common.mk +++ b/device-common.mk @@ -89,6 +89,12 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.memtrack@1.0-impl +# Power +PRODUCT_PACKAGES += \ + power.universal7580 \ + android.hardware.power@1.0-service \ + android.hardware.power@1.0-impl + # Permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ -- 2.20.1