dre: Build Lineage Health HAL

Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
This commit is contained in:
Michael Bestas 2023-03-03 23:43:42 +02:00 committed by Albert Tang
parent 81395d416b
commit 1e3ebd5caf
3 changed files with 12 additions and 2 deletions

View file

@ -87,6 +87,9 @@ TARGET_USES_QTI_MAPPER_EXTENSIONS_1_1 := true
# Filesystem # Filesystem
TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/config.fs TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/config.fs
# Health
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH := /sys/class/oplus_chg/battery/mmi_charging_enable
# HIDL # HIDL
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \ DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
$(DEVICE_PATH)/device_framework_matrix.xml \ $(DEVICE_PATH)/device_framework_matrix.xml \

View file

@ -1,5 +1,5 @@
# #
# Copyright (C) 2021-2022 The LineageOS Project # Copyright (C) 2021-2023 The LineageOS Project
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
@ -273,6 +273,10 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.keymaster@4.1.vendor android.hardware.keymaster@4.1.vendor
# Lineage Health
PRODUCT_PACKAGES += \
vendor.lineage.health-service.default
# LiveDisplay # LiveDisplay
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
vendor.lineage.livedisplay@2.1-service.oplus vendor.lineage.livedisplay@2.1-service.oplus

View file

@ -1,9 +1,12 @@
# #
# Copyright (C) 2022 The LineageOS Project # Copyright (C) 2022-2023 The LineageOS Project
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
# Charger
/sys/class/oplus_chg/* mmi_charging_enable 0660 system system
# NFC # NFC
/dev/st21nfc 0660 nfc nfc /dev/st21nfc 0660 nfc nfc