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

Commit 82c88fc3 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am a2a60a21: Merge change 5142 into donut

Merge commit 'a2a60a21'

* commit 'a2a60a21':
  Fix NPE in GradientDrawable constructor
parents e5b3607a a2a60a21
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -880,7 +880,9 @@ public class GradientDrawable extends Drawable {
            mShape = state.mShape;
            mGradient = state.mGradient;
            mOrientation = state.mOrientation;
            if (state.mColors != null) {
                mColors = state.mColors.clone();
            }
            if (state.mPositions != null) {
                mPositions = state.mPositions.clone();
            }