Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfcbb3c3 authored by ztenghui's avatar ztenghui Committed by Android Git Automerger
Browse files

am 6fb451ae: Correct the tag\'s name in the exceptions

* commit '6fb451ae17ead6dd26dcf2662e0ab73c4184c3ce':
  Correct the tag's name in the exceptions
parents ecea0c71 1c4d8b21
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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");
        }
    }