sm8150-common: Build Lineage Health HAL

This commit is contained in:
Arian 2023-11-22 04:37:54 +01:00 committed by fazilsheik96
parent 9031f8a279
commit e205078c4a
2 changed files with 10 additions and 0 deletions

View File

@ -94,6 +94,12 @@ KERNEL_DEFCONFIG := vendor/sm8150-perf_defconfig
KERNEL_CUSTOM_LLVM := true
KERNEL_FULL_LLVM := true
# Lineage Health
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH := /sys/class/power_supply/battery/op_disable_charge
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_ENABLED := 0
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_DISABLED := 1
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS := false
# Metadata
BOARD_USES_METADATA_PARTITION := true

View File

@ -222,6 +222,10 @@ PRODUCT_VENDOR_PROPERTIES += \
ro.crypto.volume.filenames_mode="aes-256-cts" \
ro.hardware.keystore_desede=true
# Lineage Health
PRODUCT_PACKAGES += \
vendor.lineage.health-service.default
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc@1.0-impl:64 \