OSDN Git Service

Fix use of drawing cache in Launcher.
authorRomain Guy <romainguy@android.com>
Fri, 26 Jun 2009 23:57:39 +0000 (16:57 -0700)
committerRomain Guy <romainguy@android.com>
Fri, 26 Jun 2009 23:57:39 +0000 (16:57 -0700)
src/com/android/launcher/CellLayout.java

index 058b22c..73dbb3e 100644 (file)
@@ -530,7 +530,7 @@ public class CellLayout extends ViewGroup {
             final View view = getChildAt(i);
             view.setDrawingCacheEnabled(enabled);
             // Update the drawing caches
-            view.buildDrawingCache();
+            view.buildDrawingCache(true);
         }
     }