Store raw values for rro attributes

aapt2 changes the values of xml attributes when compiling, and
this may break applications that rely on the exact string
representation of those. This CL adds an aapt2 command line
switch to preserve the original values

Bug: 194436243
Test: manual
Change-Id: Id352cbf209739fd9a094de9068d12049ea6e3e51
This commit is contained in:
Yurii Zubrytskyi
2022-02-17 12:27:08 -08:00
parent 5dabffcfac
commit 40d69a1250

View File

@@ -38,7 +38,7 @@ endif
LOCAL_FULL_MANIFEST_FILE := $(rro_android_manifest_file)
LOCAL_AAPT_FLAGS += --auto-add-overlay
LOCAL_AAPT_FLAGS += --auto-add-overlay --keep-raw-values
LOCAL_RESOURCE_DIR := $(enforce_rro_source_overlays)
ifeq (product,$(enforce_rro_partition))