universal7580: build power hal
authorStricted <info@stricted.net>
Mon, 1 Oct 2018 09:13:05 +0000 (11:13 +0200)
committerJan Altensen <info@stricted.net>
Thu, 15 Aug 2019 09:11:36 +0000 (11:11 +0200)
Change-Id: Ie8a4b190f53858feb89c942f6e6c9cff4a348985

BoardConfigCommon.mk
device-common.mk

index e5404443db04618d7e1cc63ef0c9a547dd6c7124..09481678d2674f98c1b93ad0a17de4825002cca6 100644 (file)
@@ -118,6 +118,7 @@ BOARD_USES_SCALER := true
 
 # Samsung HALs
 TARGET_AUDIOHAL_VARIANT := samsung
+TARGET_POWERHAL_VARIANT := samsung
 
 # Wifi
 BOARD_WLAN_DEVICE                := bcmdhd
index d72e1be1deb6d42464883d839114d219bab12708..8218791429e01d2529c4358746b107d30c47d577 100644 (file)
@@ -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 \