mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 12:07:36 +00:00
sm6150-common: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user