OSDN Git Service

Don't call updateDisplayListIfDirty outside draw.
authorGeorge Mount <mount@google.com>
Fri, 8 May 2015 14:48:19 +0000 (07:48 -0700)
committerGeorge Mount <mount@google.com>
Fri, 8 May 2015 14:51:44 +0000 (07:51 -0700)
Bug 20909826

Change-Id: If332319ba192606cc30fc8d0de00086fc5135deb

core/java/android/view/GhostView.java

index bc38e1a..706f230 100644 (file)
@@ -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();
             }
         }
     }