From 38960fa6f5f59ad267f0a015ff306133f93528f8 Mon Sep 17 00:00:00 2001 From: Stricted Date: Mon, 1 Oct 2018 11:13:05 +0200 Subject: [PATCH] universal8895: build power hal Change-Id: Ie8a4b190f53858feb89c942f6e6c9cff4a348985 --- BoardConfigCommon.mk | 3 +++ device-common.mk | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 15fa1bf..db7acc7 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -84,6 +84,9 @@ BOARD_USES_DT := true # Renderscript OVERRIDE_RS_DRIVER := libRSDriverArm.so +# Samsung HALs +TARGET_POWERHAL_VARIANT := samsung + # Bluetooth BOARD_CUSTOM_BT_CONFIG := $(LOCAL_PATH)/bluetooth/libbt_vndcfg.txt BOARD_HAVE_BLUETOOTH := true diff --git a/device-common.mk b/device-common.mk index b1c62d3..309c232 100644 --- a/device-common.mk +++ b/device-common.mk @@ -67,6 +67,12 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.memtrack@1.0-impl +# Power +PRODUCT_PACKAGES += \ + power.universal8895 \ + android.hardware.power@1.0-service \ + android.hardware.power@1.0-impl + # Permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \ -- 2.20.1