lights: Add golden calibration support

The units should deploy the golden calibration data
in either case of replacement of MLB or CG.

Bug: 264023021
Change-Id: Idb670bfefb3585ee1413e16c3e07d4d818f3f9ab
Signed-off-by: Chungjui Fan <chungjuifan@google.com>
This commit is contained in:
Chungjui Fan 2022-12-30 11:53:55 +00:00
parent 6a198d072c
commit bf3ff516ca
7 changed files with 92 additions and 9 deletions

View file

@ -190,6 +190,11 @@ PRODUCT_PACKAGES_DEBUG += \
PRODUCT_PACKAGES += \
android.hardware.lights-service.tangorpro
# LED Golden Config
PRODUCT_COPY_FILES += \
device/google/tangorpro/lights/led_golden_calibration_LUT_white_CG.txt:$(TARGET_COPY_OUT_VENDOR)/etc/led_golden_calibration_LUT_white_CG.txt \
device/google/tangorpro/lights/led_golden_calibration_LUT_black_CG.txt:$(TARGET_COPY_OUT_VENDOR)/etc/led_golden_calibration_LUT_black_CG.txt
# Device features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/tablet_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tablet_core_hardware.xml