summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2015-05-08 07:48:19 -0700
committerGeorge Mount <mount@google.com>2015-05-08 07:51:44 -0700
commit0006e88863e5f88e6b1cbd047a8b08ad4d8913c7 (patch)
treef9a8a1d7943527d662f311f6d75788cbd3aff1a0 /core
parent9260cb7ffe0845d229a8cfe948b4ba30fe32127b (diff)
downloadframeworks_base-0006e88863e5f88e6b1cbd047a8b08ad4d8913c7.zip
frameworks_base-0006e88863e5f88e6b1cbd047a8b08ad4d8913c7.tar.gz
frameworks_base-0006e88863e5f88e6b1cbd047a8b08ad4d8913c7.tar.bz2
Don't call updateDisplayListIfDirty outside draw.
Bug 20909826 Change-Id: If332319ba192606cc30fc8d0de00086fc5135deb
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 bc38e1a..706f230 100644
--- a/core/java/android/view/GhostView.java
+++ b/core/java/android/view/GhostView.java
@@ -83,8 +83,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();
}
}
}