Revert "Revert "msm8974-common: Use QTI HIDL power HAL""

This reverts commit 24d70a1aec.

* The new HIDL power HAL seems to be appropriately riced^Wfixed for
  8974 now.

Change-Id: I629ab2314dec4698a0d4d45d77cdc48bf92a4d74
This commit is contained in:
Kevin F. Haggerty 2018-02-26 06:28:32 -07:00
parent f159447f74
commit 993b723e0b
3 changed files with 7 additions and 3 deletions

View file

@ -77,6 +77,11 @@ include device/samsung/msm8974-common/sepolicy/sepolicy.mk
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

@ -149,8 +149,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 += \