summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-06-20 16:58:37 -0700
committerColin Cross <ccross@android.com>2019-06-20 17:02:42 -0700
commitabbaacc6ac3de8b4d2bc69ef40cb1fd0aa9f6be4 (patch)
tree8076b7b7351950a8d96889bb3581e2ce05de37c4
parent6e6106bb1572012a1d0f05fcb68d1591108aee66 (diff)
downloadUnifiedEmail-abbaacc6ac3de8b4d2bc69ef40cb1fd0aa9f6be4.tar.gz
Pass --legacy to aapt2 compile for UnifiedEmail
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: 135616422 Test: m java Change-Id: Ib71df676a67aa94684fa1db01f2a5a3dd29cf963
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index b929cf9cb..c28b7a961 100644
--- a/Android.mk
+++ b/Android.mk
@@ -57,6 +57,8 @@ endif
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.mail.*,com.android.emailcommon.*,com.google.android.mail.*
+LOCAL_AAPT_FLAGS += --legacy
+
include $(BUILD_PACKAGE)
##################################################