summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-06-20 16:58:03 -0700
committerColin Cross <ccross@android.com>2019-06-20 17:01:22 -0700
commite69365097f7ac3b498d5793c07cc20fcb8e21083 (patch)
tree3a6e21a7a14e675b63dc10d960aae0a64b143ac9
parentcca24530246c38ebd14143cfe696e676d7209971 (diff)
Pass --legacy to aapt2 compile for Dialer
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: 135615364 Test: m java Change-Id: I4db9606206597a58b2a6864ac5ef6d944bb292b4
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index b7a4a8ffe..e50b0a54e 100644
--- a/Android.mk
+++ b/Android.mk
@@ -97,6 +97,7 @@ LOCAL_AAPT_FLAGS := $(addprefix --extra-packages , $(LOCAL_AAPT_FLAGS))
LOCAL_AAPT_FLAGS += \
--auto-add-overlay \
--extra-packages me.leolin.shortcutbadger \
+ --legacy \
LOCAL_STATIC_JAVA_LIBRARIES := \
android-common \