From e69365097f7ac3b498d5793c07cc20fcb8e21083 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 20 Jun 2019 16:58:03 -0700 Subject: 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 --- Android.mk | 1 + 1 file changed, 1 insertion(+) 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 \ -- cgit v1.2.3