Loading tools/aapt/ResourceTable.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -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) { Loading @@ -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; Loading Loading
tools/aapt/ResourceTable.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -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) { Loading @@ -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; Loading