From 41ea44f63d78b03a7c323639f3b80364b65f5a13 Mon Sep 17 00:00:00 2001 From: Adam Lesinski Date: Wed, 31 May 2017 10:22:30 -0700 Subject: [PATCH] AAPT2: Update --no-version-vector list Keep in sync with AAPT. Since gradle is moving to use AAPT2 by default, updates to AAPT will no longer be necessary and this will be the authoritative list until a more programmatic solution presents itself. Bug: 62211148 Test: manual Change-Id: Id9232c9fb730c50e4850887fa0f5da82574ca900 --- tools/aapt2/cmd/Link.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/aapt2/cmd/Link.cpp b/tools/aapt2/cmd/Link.cpp index 24a687cd4d864..ebec81b4764c8 100644 --- a/tools/aapt2/cmd/Link.cpp +++ b/tools/aapt2/cmd/Link.cpp @@ -440,7 +440,8 @@ static bool IsTransitionElement(const std::string& name) { } static bool IsVectorElement(const std::string& name) { - return name == "vector" || name == "animated-vector"; + return name == "vector" || name == "animated-vector" || name == "pathInterpolator" || + name == "objectAnimator"; } template