Pass --legacy to aapt2 compile for Messaging

This module produces warnings that are treated as errors if --legacy
is not passed.  --legacy is no longer being passed by default, so
add it here.

Bug: 135617299
Test: m java
Change-Id: Ic001d8f4f9afdee3528929d3ba62a6bbade80ab6
This commit is contained in:
Colin Cross
2019-06-20 16:58:37 -07:00
parent a6f1ae137d
commit ef765e414e

View File

@@ -48,6 +48,7 @@ include $(LOCAL_PATH)/version.mk
LOCAL_AAPT_FLAGS += --version-name "$(version_name_package)"
LOCAL_AAPT_FLAGS += --version-code $(version_code_package)
LOCAL_AAPT_FLAGS += --legacy
ifdef TARGET_BUILD_APPS
LOCAL_JNI_SHARED_LIBRARIES := libframesequence libgiftranscode