summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2015-05-08 20:30:07 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-08 20:30:08 +0000
commit180fd27832b429aaca0a35e8b93c88195b6451be (patch)
tree9b1f48decc34824c5c33f1c98b332a2085784a6a /core
parent6624015e4f11e1072583423e193751f4a90ce45f (diff)
parent0006e88863e5f88e6b1cbd047a8b08ad4d8913c7 (diff)
downloadframeworks_base-180fd27832b429aaca0a35e8b93c88195b6451be.zip
frameworks_base-180fd27832b429aaca0a35e8b93c88195b6451be.tar.gz
frameworks_base-180fd27832b429aaca0a35e8b93c88195b6451be.tar.bz2
Merge "Don't call updateDisplayListIfDirty outside draw." into mnc-dev
Diffstat (limited to 'core')
-rw-r--r--core/java/android/view/GhostView.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/view/GhostView.java b/core/java/android/view/GhostView.java
index 9f46f45..41502b6 100644
--- a/core/java/android/view/GhostView.java
+++ b/core/java/android/view/GhostView.java
@@ -82,8 +82,7 @@ public class GhostView extends View {
mView.mGhostView = null;
final ViewGroup parent = (ViewGroup) mView.getParent();
if (parent != null) {
- parent.mRecreateDisplayList = true;
- parent.updateDisplayListIfDirty();
+ parent.invalidate();
}
}
}