vendor: display: Guard QTI AIDL Lights HAL
Causes msmnile to bootloop
This commit is contained in:
parent
6482aabd53
commit
3ee92b397b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue