OSDN Git Service

Get rid of explicit GC requests
authorMichael Jurka <mikejurka@google.com>
Fri, 19 Oct 2012 15:22:00 +0000 (17:22 +0200)
committerMichael Jurka <mikejurka@google.com>
Fri, 19 Oct 2012 15:22:00 +0000 (17:22 +0200)
Bug: 7370913

src/com/android/launcher2/AppsCustomizeTabHost.java

index 5b33c31..96ec33e 100644 (file)
@@ -352,11 +352,6 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
             // force building the layer, so you don't get a blip early in an animation
             // when the layer is created layer
             buildLayer();
-
-            // Let the GC system know that now is a good time to do any garbage
-            // collection; makes it less likely we'll get a GC during the all apps
-            // to workspace animation
-            System.gc();
         }
     }