OSDN Git Service

Improve All Apps --> Workspace performance
authorMichael Jurka <mikejurka@google.com>
Thu, 7 Mar 2013 12:15:10 +0000 (13:15 +0100)
committerThe Android Automerger <android-build@android.com>
Thu, 7 Mar 2013 22:03:24 +0000 (14:03 -0800)
Fix bug where HW layers were not enabled for that
transition

Bug: 8323765

src/com/android/launcher2/Workspace.java

index 20bcca7..cb9ac55 100644 (file)
@@ -1700,7 +1700,6 @@ public class Workspace extends SmoothPagedView
                     }
                 }
             }
-            buildPageHardwareLayers();
             anim.setStartDelay(delay);
         }
 
@@ -1720,6 +1719,7 @@ public class Workspace extends SmoothPagedView
     @Override
     public void onLauncherTransitionPrepare(Launcher l, boolean animated, boolean toWorkspace) {
         mIsSwitchingState = true;
+        updateChildrenLayersEnabled(false);
         cancelScrollingIndicatorAnimations();
     }