Merge "Fix issue with views becoming visible with stale content."
This commit is contained in:
@@ -6433,10 +6433,10 @@ public class View implements Drawable.Callback2, KeyEvent.Callback, Accessibilit
|
|||||||
if ((flags & VISIBILITY_MASK) == VISIBLE) {
|
if ((flags & VISIBILITY_MASK) == VISIBLE) {
|
||||||
if ((changed & VISIBILITY_MASK) != 0) {
|
if ((changed & VISIBILITY_MASK) != 0) {
|
||||||
/*
|
/*
|
||||||
* If this view is becoming visible, set the DRAWN flag so that
|
* If this view is becoming visible, invalidate it in case it changed while
|
||||||
* the next invalidate() will not be skipped.
|
* it was not visible.
|
||||||
*/
|
*/
|
||||||
mPrivateFlags |= DRAWN;
|
invalidate(true);
|
||||||
|
|
||||||
needGlobalAttributesUpdate(true);
|
needGlobalAttributesUpdate(true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user