universal8895: build power hal
authorStricted <info@stricted.net>
Mon, 1 Oct 2018 09:13:05 +0000 (11:13 +0200)
committerJan Altensen <info@stricted.net>
Tue, 3 Sep 2019 17:04:36 +0000 (19:04 +0200)
Change-Id: Ie8a4b190f53858feb89c942f6e6c9cff4a348985

BoardConfigCommon.mk
device-common.mk

index 15fa1bfc064f2d9a9389c57c871da9da22f0649e..db7acc7760d835fb04ac1dc997ce717e9f64a759 100644 (file)
@@ -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
index b1c62d3b8d93385b9e68819acbeaf43fdf08c50c..309c23298071b03dfcdb2663d696957a384a7e32 100644 (file)
@@ -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 \