am 446cd3cd: am 21b5c7b3: am 6fb451ae: Correct the tag\'s name in the exceptions

* commit '446cd3cd6dfbacf959d9a1b5d27b962f9cc8e824':
  Correct the tag's name in the exceptions
This commit is contained in:
ztenghui
2014-08-01 20:48:59 +00:00
committed by Android Git Automerger

View File

@@ -436,10 +436,10 @@ public class VectorDrawable extends Drawable {
if (pathRenderer.mViewportWidth <= 0) {
throw new XmlPullParserException(a.getPositionDescription() +
"<viewport> tag requires viewportWidth > 0");
"<vector> tag requires viewportWidth > 0");
} else if (pathRenderer.mViewportHeight <= 0) {
throw new XmlPullParserException(a.getPositionDescription() +
"<viewport> tag requires viewportHeight > 0");
"<vector> tag requires viewportHeight > 0");
}
pathRenderer.mBaseWidth = a.getDimension(
@@ -449,10 +449,10 @@ public class VectorDrawable extends Drawable {
if (pathRenderer.mBaseWidth <= 0) {
throw new XmlPullParserException(a.getPositionDescription() +
"<size> tag requires width > 0");
"<vector> tag requires width > 0");
} else if (pathRenderer.mBaseHeight <= 0) {
throw new XmlPullParserException(a.getPositionDescription() +
"<size> tag requires height > 0");
"<vector> tag requires height > 0");
}
}