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

Commit 007e207b authored by Andreas Gampe's avatar Andreas Gampe Committed by Gerrit Code Review
Browse files

Merge "Frameworks/base: Fix null-pointer check"

parents d61cbf9a f2b1cff4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -396,7 +396,7 @@ public class VectorDrawable extends Drawable {
     * @hide
     */
    public float getPixelSize() {
        if (mVectorState == null && mVectorState.mVPathRenderer == null ||
        if (mVectorState == null || mVectorState.mVPathRenderer == null ||
                mVectorState.mVPathRenderer.mBaseWidth == 0 ||
                mVectorState.mVPathRenderer.mBaseHeight == 0 ||
                mVectorState.mVPathRenderer.mViewportHeight == 0 ||