dre: Remove PowerShare HAL

This feature relies on wireless charging capabilities, which the Nord
N200 lacks.

This reverts commit d2493c7765.

Change-Id: I44753bd51d3f1a812999607ae67bc431b561f750
This commit is contained in:
Albert Tang 2022-05-26 11:58:35 -05:00
parent a00313b8fa
commit 50ca8fb110
4 changed files with 0 additions and 12 deletions

View file

@ -191,11 +191,6 @@ TARGET_COPY_OUT_VENDOR_DLKM := vendor_dlkm
# Power
TARGET_TAP_TO_WAKE_NODE := "/proc/touchpanel/double_tap_enable"
# PowerShare
SOONG_CONFIG_NAMESPACES += ONEPLUS_POWERSHARE
SOONG_CONFIG_ONEPLUS_POWERSHARE := WIRELESS_TX_ENABLE_PATH
SOONG_CONFIG_ONEPLUS_POWERSHARE_WIRELESS_TX_ENABLE_PATH := /sys/class/oplus_chg/wireless/trx_online
# Recovery
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
BOARD_USES_RECOVERY_AS_BOOT := true

View file

@ -434,10 +434,6 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.perf@2.1.vendor \
vendor.qti.hardware.perf@2.2.vendor
# PowerShare
PRODUCT_PACKAGES += \
vendor.lineage.powershare@1.0-service.oneplus
# QMI
PRODUCT_PACKAGES += \
libjson \

View file

@ -33,7 +33,6 @@
# HALs
/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@1\.2-service\.st u:object_r:hal_nfc_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.1-service\.oneplus u:object_r:hal_lineage_livedisplay_qti_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.powershare@1\.0-service\.oneplus u:object_r:hal_lineage_powershare_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.oneplus u:object_r:hal_lineage_touch_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.oneplus\.hardware\.camera@1\.0-service u:object_r:hal_cameraHIDL_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.oneplus\.hardware\.CameraMDMHIDL@1\.0-service u:object_r:hal_cameraHIDL_default_exec:s0

View file

@ -1,2 +0,0 @@
allow hal_lineage_powershare_default vendor_sysfs_battery_supply:dir search;
allow hal_lineage_powershare_default vendor_sysfs_battery_supply:file rw_file_perms;