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

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

Merge "Fix init of Animation in View drawing code"

parents 9687433d 1fb8a9e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12297,7 +12297,7 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
        final int flags = parent.mGroupFlags;
        final boolean initialized = a.isInitialized();
        if (!initialized) {
            a.initialize(mRight - mLeft, mBottom - mTop, getWidth(), getHeight());
            a.initialize(mRight - mLeft, mBottom - mTop, parent.getWidth(), parent.getHeight());
            a.initializeInvalidateRegion(0, 0, mRight - mLeft, mBottom - mTop);
            onAnimationStart();
        }