summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/java/android/view/View.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index f111f98209fc..6ba413e13391 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -9332,6 +9332,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
// the DRAWN bit.
mPrivateFlags |= DRAWN;
invalidate(true);
+ // parent display list may need to be recreated based on a change in the bounds
+ // of any child
+ invalidateParentCaches();
}
// Reset drawn bit to original value (invalidate turns it off)