liblight: Kanged mostly from hardware/qcom/sdm845/display/liblight
Removed the LED control paths we dont yet support upstream and
updated backlight wled brightness sysfs path from downstream
"/sys/class/backlight/panel0-backlight/brightness" to upstream
"/sys/class/backlight/wled/brightness".
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/device-common.mk b/device-common.mk
index 47baec9..2c1c707 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -162,6 +162,11 @@
PRODUCT_HOST_PACKAGES := \
mkbootimg
+# Lights
+PRODUCT_PACKAGES += \
+ android.hardware.light@2.0-impl \
+ android.hardware.light@2.0-service
+
# Copy standard platform config files
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/ueventd.common.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \