From: Stricted Date: Mon, 1 Oct 2018 09:13:05 +0000 (+0200) Subject: universal7580: build power hal X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=97f75cb045320e249dbdb9304241ddfac7f845e7;p=GitHub%2FLineageOS%2Fandroid_device_samsung_universal7580-common.git universal7580: build power hal Change-Id: Ie8a4b190f53858feb89c942f6e6c9cff4a348985 --- 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 \