diff options
author | George Mount <mount@google.com> | 2015-05-08 07:48:19 -0700 |
---|---|---|
committer | George Mount <mount@google.com> | 2015-05-08 07:51:44 -0700 |
commit | 0006e88863e5f88e6b1cbd047a8b08ad4d8913c7 (patch) | |
tree | f9a8a1d7943527d662f311f6d75788cbd3aff1a0 /core | |
parent | 9260cb7ffe0845d229a8cfe948b4ba30fe32127b (diff) | |
download | frameworks_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.java | 3 |
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(); } } } |