diff options
| -rw-r--r-- | core/java/android/view/View.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 17e637c57cc5..e97d88fdad51 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -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); |