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

Commit 12bb4739 authored by John Reck's avatar John Reck
Browse files

Don't animate invisible views

Bug: 184230269
Test: wasn't
Change-Id: Iec6eefedc2c82750ea721ae3d1184be1939066ef
parent 3c865b12
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();
        }