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

Commit db8601fa authored by Diego Perez's avatar Diego Perez
Browse files

Avoid calling deepCopyNodes on null array

Bug: http://b.android.com/212694
Change-Id: Ib7e0f62352c1ef6106e62667c9369a9bc69b62cd
(cherry picked from commit 0b4ffd3e9ac1698ed9dfa080515d517b6d971868)
parent 4a1bd499
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -973,7 +973,7 @@ public class VectorDrawable_Delegate {
        public VPath_Delegate(VPath_Delegate copy) {
            mPathName = copy.mPathName;
            mChangingConfigurations = copy.mChangingConfigurations;
            mNodes = PathParser_Delegate.deepCopyNodes(copy.mNodes);
            mNodes = copy.mNodes != null ? PathParser_Delegate.deepCopyNodes(copy.mNodes) : null;
        }

        public void toPath(Path path) {