From ebefea465893529230157d4a857ef52c3fb545e7 Mon Sep 17 00:00:00 2001 From: Michael Jurka Date: Mon, 15 Nov 2010 16:04:01 -0800 Subject: Fix issue where Launcher was not getting redrawn This is a temporary fix; will submit a change later that restores the performance improvement but fixes the drawing issue --- core/java/android/view/View.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index be49255ee186..e6eb46e5a160 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -6304,12 +6304,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility } final AttachInfo ai = mAttachInfo; final ViewParent p = mParent; - if (p != null && ai != null && ai.mHardwareAccelerated) { - // fast-track for GL-enabled applications; just invalidate the whole hierarchy - // with a null dirty rect, which tells the ViewRoot to redraw everything - p.invalidateChild(this, null); - return; - } + if (p != null && ai != null) { final Rect r = ai.mTmpInvalRect; r.set(0, 0, mRight - mLeft, mBottom - mTop); -- cgit v1.2.3-59-g8ed1b