sm8350-common: Switch to common lineage Powershare hal

Change-Id: Iadddff9dbe9cf86e8510ddae165ddb04bcabe01d
This commit is contained in:
FlowerSea0208 2024-08-23 02:10:24 +08:00 committed by Sea Flower
parent 6cffdc06c9
commit 0ced5f6337
2 changed files with 1 additions and 6 deletions

View File

@ -139,9 +139,7 @@ TARGET_BOARD_PLATFORM := lahaina
TARGET_POWERHAL_MODE_EXT := $(COMMON_PATH)/power/power-mode.cpp
# PowerShare
SOONG_CONFIG_NAMESPACES += XIAOMI_POWERSHARE
SOONG_CONFIG_XIAOMI_POWERSHARE := WIRELESS_TX_ENABLE_PATH
SOONG_CONFIG_XIAOMI_POWERSHARE_WIRELESS_TX_ENABLE_PATH := /sys/class/qcom-battery/reverse_chg_mode
TARGET_POWERSHARE_PATH := /sys/class/qcom-battery/reverse_chg_mode
# Properties
TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop

View File

@ -37,9 +37,6 @@
# Power
/dev/xiaomi-touch u:object_r:vendor_touchfeature_device:s0
# Powershare
/vendor/bin/hw/vendor\.lineage\.powershare@1\.0-service\.xiaomi u:object_r:hal_lineage_powershare_default_exec:s0
# Sensors
/sys/bus/iio/devices u:object_r:vendor_sysfs_iio:s0
/sys/devices/platform/us_prox.0/iio:device1(/.*)? u:object_r:vendor_sysfs_iio:s0