diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 7ad52ed..12c8953 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -77,6 +77,11 @@ include device/samsung/msm8974-common/sepolicy/sepolicy.mk 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 diff --git a/manifest.xml b/manifest.xml index d38a208..fdffd97 100644 --- a/manifest.xml +++ b/manifest.xml @@ -116,7 +116,7 @@ android.hardware.power - passthrough + hwbinder 1.0 IPower diff --git a/msm8974.mk b/msm8974.mk index 166ed63..9ad50d0 100644 --- a/msm8974.mk +++ b/msm8974.mk @@ -149,8 +149,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 += \