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

Commit d8726e6b authored by Peter Kalauskas's avatar Peter Kalauskas Committed by Android (Google) Code Review
Browse files

Merge "Invalidate outline only if provider changes"

parents 2d10572e f8631c6d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -18674,9 +18674,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * @see #getOutlineProvider()
     */
    public void setOutlineProvider(ViewOutlineProvider provider) {
        if (mOutlineProvider != provider) {
            mOutlineProvider = provider;
            invalidateOutline();
        }
    }
    /**
     * Returns the current {@link ViewOutlineProvider} of the view, which generates the Outline