vendor: display: Guard QTI AIDL Lights HAL

Causes msmnile to bootloop
This commit is contained in:
Fazil Sheik 2024-09-11 15:02:24 +05:30
parent 6482aabd53
commit 3ee92b397b
1 changed files with 12 additions and 0 deletions

View File

@ -16,9 +16,21 @@
-include hardware/qcom/display/config/display-board.mk
-include hardware/qcom/display/config/display-product.mk
# Enable Legacy Lights HAL for 4.14 target
ifneq (,$(filter 4.14, $(TARGET_KERNEL_VERSION)))
# Lights HAL
PRODUCT_PACKAGES += \
android.hardware.lights-service.qti \
lights.qcom
else
# Include QTI AIDL Lights HAL
-include vendor/qcom/opensource/lights/lights-vendor-product.mk
endif
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml