From 0006e88863e5f88e6b1cbd047a8b08ad4d8913c7 Mon Sep 17 00:00:00 2001 From: George Mount Date: Fri, 8 May 2015 07:48:19 -0700 Subject: Don't call updateDisplayListIfDirty outside draw. Bug 20909826 Change-Id: If332319ba192606cc30fc8d0de00086fc5135deb --- core/java/android/view/GhostView.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/java/android/view/GhostView.java') 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(); } } } -- cgit v1.1