diff options
author | ztenghui <ztenghui@google.com> | 2017-03-21 16:28:57 -0700 |
---|---|---|
committer | ztenghui <ztenghui@google.com> | 2017-03-21 16:44:00 -0700 |
commit | 205548561c67a3c05163d17057a1fc76a338ec15 (patch) | |
tree | fa402bbcbbb23c34915601cc1cb19b49eb7cd8a6 /tools/aapt/ResourceTable.cpp | |
parent | 5beefa697aeca3eeaeeac50f781908657490e211 (diff) |
disable versioning for objectAnimator to support path motion
bug:33527757
Test: replace the AAPT in local SDK, and make sure the propertyX/YName
still works within ObjectAnimator.
Change-Id: Ic9bb14cd228dcf7e4d250bd0f6cb5f0c31a14183
Diffstat (limited to 'tools/aapt/ResourceTable.cpp')
-rw-r--r-- | tools/aapt/ResourceTable.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/aapt/ResourceTable.cpp b/tools/aapt/ResourceTable.cpp index 60f0d56e09bf..391aa47469ef 100644 --- a/tools/aapt/ResourceTable.cpp +++ b/tools/aapt/ResourceTable.cpp @@ -4765,6 +4765,7 @@ status_t ResourceTable::modifyForCompat(const Bundle* bundle, const String16 vector16("vector"); const String16 animatedVector16("animated-vector"); const String16 pathInterpolator16("pathInterpolator"); + const String16 objectAnimator16("objectAnimator"); const int minSdk = getMinSdkVersion(bundle); if (minSdk >= SDK_LOLLIPOP_MR1) { @@ -4791,6 +4792,7 @@ status_t ResourceTable::modifyForCompat(const Bundle* bundle, if (bundle->getNoVersionVectors() && (node->getElementName() == vector16 || node->getElementName() == animatedVector16 || + node->getElementName() == objectAnimator16 || node->getElementName() == pathInterpolator16)) { // We were told not to version vector tags, so skip the children here. continue; |