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

Commit 2b2d313e authored by Chet Haase's avatar Chet Haase Committed by Android (Google) Code Review
Browse files

Merge "Reduce amount of invalidation when old-style animations are running" into klp-dev

parents f6c7a5fd 2632b5d0
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -14013,10 +14013,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        }
        if (more && hardwareAccelerated) {
            // invalidation is the trigger to recreate display lists, so if we're using
            // display lists to render, force an invalidate to allow the animation to
            // continue drawing another frame
            parent.invalidate(true);
            if (a.hasAlpha() && (mPrivateFlags & PFLAG_ALPHA_SET) == PFLAG_ALPHA_SET) {
                // alpha animations should cause the child to recreate its display list
                invalidate(true);