Initial changes to synchronously load workspace on rotation.

Change-Id: Ia7cf80177fd0aee88aa3f4a731f5d6dc904bea16
This commit is contained in:
Winson Chung
2012-07-12 17:55:31 -07:00
parent 4973aaf797
commit b8b2a5aa45
4 changed files with 720 additions and 481 deletions
+8
View File
@@ -1283,6 +1283,14 @@ public class Workspace extends SmoothPagedView
}
super.onDraw(canvas);
// Call back to LauncherModel to finish binding after the first draw
post(new Runnable() {
@Override
public void run() {
mLauncher.getModel().bindRemainingSynchronousPages();
}
});
}
boolean isDrawingBackgroundGradient() {