diff --git a/BoardConfig.mk b/BoardConfig.mk index 8b84623..d58e2fc 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -21,9 +21,6 @@ TARGET_SCREEN_DENSITY := 640 # Kernel TARGET_KERNEL_ADDITIONAL_FLAGS += CONFIG_DODGE_DTB=y -# Power -TARGET_POWERHAL_MODE_EXT_LIB := power-ext-oplus - # Properties TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop TARGET_SYSTEM_EXT_PROP += $(DEVICE_PATH)/system_ext.prop diff --git a/device.mk b/device.mk index 32c0f6b..28fea4d 100644 --- a/device.mk +++ b/device.mk @@ -34,6 +34,9 @@ PRODUCT_PACKAGES += \ OPlusSettingsResTarget \ OPlusSystemUIResTarget +# Power +$(call soong_config_set,qtipower,mode_ext_lib,power-ext-oplus) + # PowerShare PRODUCT_PACKAGES += \ vendor.lineage.powershare-service.oplus