cmi: Switch to lineage common powershare HAL

Change-Id: Ifcbcf780307ea1df4492831ec3981a71966e22cb
This commit is contained in:
Yumi Yukimura
2024-10-23 18:04:25 +08:00
parent da2bbc8473
commit e0467b52a4
3 changed files with 2 additions and 6 deletions

View File

@@ -23,9 +23,7 @@ TARGET_KERNEL_CONFIG += vendor/xiaomi/cmi.config
TARGET_OTA_ASSERT_DEVICE := cmi TARGET_OTA_ASSERT_DEVICE := cmi
# PowerShare # PowerShare
SOONG_CONFIG_NAMESPACES += XIAOMI_POWERSHARE TARGET_POWERSHARE_PATH := /sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pm8150b@2:qcom,qpnp-smb5/power_supply/wireless/reverse_chg_mode
SOONG_CONFIG_XIAOMI_POWERSHARE := WIRELESS_TX_ENABLE_PATH
SOONG_CONFIG_XIAOMI_POWERSHARE_WIRELESS_TX_ENABLE_PATH := /sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pm8150b@2:qcom,qpnp-smb5/power_supply/wireless/reverse_chg_mode
# Properties # Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop

View File

@@ -51,7 +51,7 @@ PRODUCT_SHIPPING_API_LEVEL := 29
# PowerShare # PowerShare
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
vendor.lineage.powershare@1.0-service.xiaomi vendor.lineage.powershare@1.0-service.default
# Rootdir # Rootdir
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \

View File

@@ -1,2 +0,0 @@
# PowerShare
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.powershare@1\.0-service\.xiaomi u:object_r:hal_lineage_powershare_default_exec:s0