Loading graphics/java/android/graphics/drawable/RippleDrawable.java +2 −2 Original line number Diff line number Diff line Loading @@ -661,7 +661,8 @@ public class RippleDrawable extends LayerDrawable { mHasValidMask = true; if (maskType == MASK_NONE) { final Rect bounds = getBounds(); if (maskType == MASK_NONE || bounds.isEmpty()) { if (mMaskBuffer != null) { mMaskBuffer.recycle(); mMaskBuffer = null; Loading @@ -674,7 +675,6 @@ public class RippleDrawable extends LayerDrawable { } // Ensure we have a correctly-sized buffer. final Rect bounds = getBounds(); if (mMaskBuffer == null || mMaskBuffer.getWidth() != bounds.width() || mMaskBuffer.getHeight() != bounds.height()) { Loading Loading
graphics/java/android/graphics/drawable/RippleDrawable.java +2 −2 Original line number Diff line number Diff line Loading @@ -661,7 +661,8 @@ public class RippleDrawable extends LayerDrawable { mHasValidMask = true; if (maskType == MASK_NONE) { final Rect bounds = getBounds(); if (maskType == MASK_NONE || bounds.isEmpty()) { if (mMaskBuffer != null) { mMaskBuffer.recycle(); mMaskBuffer = null; Loading @@ -674,7 +675,6 @@ public class RippleDrawable extends LayerDrawable { } // Ensure we have a correctly-sized buffer. final Rect bounds = getBounds(); if (mMaskBuffer == null || mMaskBuffer.getWidth() != bounds.width() || mMaskBuffer.getHeight() != bounds.height()) { Loading