Improve All Apps --> Workspace performance

Fix bug where HW layers were not enabled for that
transition

Bug: 8323765
This commit is contained in:
Michael Jurka
2013-03-07 13:15:10 +01:00
parent 308703c41f
commit 315d38e977
+1 -1
View 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();
}