summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/View.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/view/View.java')
-rw-r--r--core/java/android/view/View.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index c8e229a..46d3b6f 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -10601,7 +10601,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
if (mOutline == null) {
mOutline = new Outline();
} else {
- mOutline.markInvalid();
+ //invalidate outline, to ensure background calculates it
+ mOutline.set(null);
}
if (mBackground.getOutline(mOutline)) {
if (!mOutline.isValid()) {