sm6150-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 Arian
parent 4bc7f3e65f
commit 630f539308
3 changed files with 12 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2020 The LineageOS Project
# Copyright (C) 2020-2023 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -93,6 +93,9 @@ BOARD_INCLUDE_DTB_IN_BOOTIMG := true
BOARD_BOOTIMG_HEADER_VERSION := 2
BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOTIMG_HEADER_VERSION)
# Lineage Health
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS := false
# Media
TARGET_USES_ION := true
TARGET_DISABLED_UBWC := true

View File

@@ -182,3 +182,6 @@ firmware_directories /vendor/firmware_mnt/image/
# socinfo
/sys/devices/soc0 serial_number 0000 root root
# Charger
/sys/class/power_supply/battery input_suspend 0660 system system

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2020 The LineageOS Project
# Copyright (C) 2020-2023 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -235,6 +235,10 @@ PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
PRODUCT_PACKAGES += \
android.hardware.keymaster@4.1.vendor
# Lineage Health
PRODUCT_PACKAGES += \
vendor.lineage.health-service.default
# LiveDisplay
PRODUCT_PACKAGES += \
vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150