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_INIT_VENDOR_LIB := libinit_msm8974
TARGET_RECOVERY_DEVICE_MODULES := 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 # Time services
BOARD_USES_QC_TIME_SERVICES := true BOARD_USES_QC_TIME_SERVICES := true

View File

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

View File

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