msm8974-common: Use QTI HIDL power HAL

* Let's use the new shiny binderized HAL in hardware/qcom/power

Change-Id: I2abf4ca9b0b5a0cb031f12c400a1159962f5e94c
This commit is contained in:
Paul Keith 2017-12-30 23:56:33 +01:00 committed by Kevin F. Haggerty
parent 04e9f0c1e4
commit e955914336
3 changed files with 7 additions and 3 deletions

View File

@ -67,6 +67,11 @@ DEVICE_MATRIX_FILE := device/samsung/msm8974-common/compatibility_matrix.xml
TARGET_INIT_VENDOR_LIB := libinit_msm8974
TARGET_RECOVERY_DEVICE_MODULES := libinit_msm8974
# Power
TARGET_HAS_LEGACY_POWER_STATS := true
TARGET_HAS_NO_WIFI_STATS := true
TARGET_USES_INTERACTION_BOOST := true
# Time services
BOARD_USES_QC_TIME_SERVICES := true

View File

@ -116,7 +116,7 @@
</hal>
<hal format="hidl">
<name>android.hardware.power</name>
<transport arch="32">passthrough</transport>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IPower</name>

View File

@ -142,8 +142,7 @@ PRODUCT_PACKAGES += \
# Power HAL
PRODUCT_PACKAGES += \
android.hardware.power@1.0-impl \
power.msm8974
android.hardware.power@1.0-service-qti
# RenderScript HAL
PRODUCT_PACKAGES += \