sm8550-common: Build Lineage Health HAL

Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
This commit is contained in:
Michael Bestas
2023-03-03 23:43:42 +02:00
committed by Bruno Martins
parent 193b3c9837
commit 1e4c2d81ab
3 changed files with 10 additions and 0 deletions

View File

@@ -140,6 +140,9 @@ BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD := $(strip $(shell cat $(COMMON_PATH)/m
BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD := $(strip $(shell cat $(COMMON_PATH)/modules.load.recovery))
#BOOT_KERNEL_MODULES := $(strip $(shell cat $(COMMON_PATH)/modules.load.recovery $(COMMON_PATH)/modules.include.vendor_ramdisk))
# Lineage Health
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH := /sys/class/oplus_chg/battery/mmi_charging_enable
# Platform
BOARD_USES_QCOM_HARDWARE := true
TARGET_BOARD_PLATFORM := kalama

View File

@@ -256,6 +256,10 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.keystore.app_attest_key.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.keystore.app_attest_key.xml
# Lineage Health
PRODUCT_PACKAGES += \
vendor.lineage.health-service.default
# LiveDisplay
PRODUCT_PACKAGES += \
vendor.lineage.livedisplay@2.1-service.oplus

View File

@@ -10,6 +10,9 @@ subsystem adf
# Camera
/dev/explorer_preisp 0660 cameraserver camera
# Charger
/sys/class/oplus_chg/* mmi_charging_enable 0660 system system
# Display
firmware_directories /mnt/vendor/persist/display/