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

This reverts commit e955914336.

* As it turns out, the brand new HIDL power HAL isn't ready, at
  least not for legacy devices like msm8974. Symptoms were that
  after waking from sleep, cores 1-3 are not brought back online
  consistently.
* Let's go back to the old thing, at least for now.

Change-Id: Ica2ddbeb42635662167efe0b48f0fe4051591b26
This commit is contained in:
Kevin F. Haggerty 2018-01-19 20:04:29 -07:00
parent 68b75f9105
commit 24d70a1aec
3 changed files with 3 additions and 7 deletions

View file

@ -73,11 +73,6 @@ 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>hwbinder</transport> <transport arch="32">passthrough</transport>
<version>1.0</version> <version>1.0</version>
<interface> <interface>
<name>IPower</name> <name>IPower</name>

View file

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