sm8350-common: Switch to common lineage Powershare hal
Change-Id: Iadddff9dbe9cf86e8510ddae165ddb04bcabe01d
This commit is contained in:
parent
6cffdc06c9
commit
0ced5f6337
@ -139,9 +139,7 @@ TARGET_BOARD_PLATFORM := lahaina
|
|||||||
TARGET_POWERHAL_MODE_EXT := $(COMMON_PATH)/power/power-mode.cpp
|
TARGET_POWERHAL_MODE_EXT := $(COMMON_PATH)/power/power-mode.cpp
|
||||||
|
|
||||||
# PowerShare
|
# PowerShare
|
||||||
SOONG_CONFIG_NAMESPACES += XIAOMI_POWERSHARE
|
TARGET_POWERSHARE_PATH := /sys/class/qcom-battery/reverse_chg_mode
|
||||||
SOONG_CONFIG_XIAOMI_POWERSHARE := WIRELESS_TX_ENABLE_PATH
|
|
||||||
SOONG_CONFIG_XIAOMI_POWERSHARE_WIRELESS_TX_ENABLE_PATH := /sys/class/qcom-battery/reverse_chg_mode
|
|
||||||
|
|
||||||
# Properties
|
# Properties
|
||||||
TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop
|
TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop
|
||||||
|
3
sepolicy/vendor/file_contexts
vendored
3
sepolicy/vendor/file_contexts
vendored
@ -37,9 +37,6 @@
|
|||||||
# Power
|
# Power
|
||||||
/dev/xiaomi-touch u:object_r:vendor_touchfeature_device:s0
|
/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
|
# Sensors
|
||||||
/sys/bus/iio/devices u:object_r:vendor_sysfs_iio:s0
|
/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
|
/sys/devices/platform/us_prox.0/iio:device1(/.*)? u:object_r:vendor_sysfs_iio:s0
|
||||||
|
Loading…
Reference in New Issue
Block a user