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

Commit bd78fd02 authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Don't animate invisible views" into sc-dev

parents 0c361a91 12bb4739
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -23553,6 +23553,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            mStateListAnimator.setState(state);
        }
        if (!isAggregatedVisible()) {
            // If we're not visible, skip any animated changes
            jumpDrawablesToCurrentState();
        }
        if (changed) {
            invalidate();
        }