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

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

Merge "Fix issue with views becoming visible with stale content."

parents 47d0e481 4324eadc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -6433,10 +6433,10 @@ public class View implements Drawable.Callback2, KeyEvent.Callback, Accessibilit
        if ((flags & VISIBILITY_MASK) == VISIBLE) {
            if ((changed & VISIBILITY_MASK) != 0) {
                /*
                 * If this view is becoming visible, set the DRAWN flag so that
                 * the next invalidate() will not be skipped.
                 * If this view is becoming visible, invalidate it in case it changed while
                 * it was not visible.
                 */
                mPrivateFlags |= DRAWN;
                invalidate(true);
                needGlobalAttributesUpdate(true);