Add GSI overlay for SystemUI

Use runtime resource overlay to override SystemUI resources
in case some legacy devices might have invalid settings,
and the invalid settings might cause unexpected SystemUI
errors when installing GSI on different devices.

Bug: 245806899
Test: Build and install GSI on Pixel
Change-Id: I704ba8f1a4a1d058e5e992d3ca18bdb4bda6610d
This commit is contained in:
Dennis Song
2022-10-17 16:42:16 +08:00
parent 09d7031f7d
commit a0f242ae87

View File

@@ -62,6 +62,11 @@ PRODUCT_PACKAGES += \
init.gsi.rc \
init.vndk-nodef.rc \
# Overlay the GSI specific SystemUI setting
PRODUCT_PACKAGES += gsi_overlay_systemui
PRODUCT_COPY_FILES += \
device/generic/common/overlays/overlay-config.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/overlay/config/config.xml
# Support additional VNDK snapshots
PRODUCT_EXTRA_VNDK_VERSIONS := \
29 \