Bug #
7327799
Change-Id: Ic3a18fb9d850f2c692dcb187a206c61dfa8108a4
private float[] mNewRotationYs;
private float mTransitionProgress;
+ private final Runnable mBindPages = new Runnable() {
+ @Override
+ public void run() {
+ mLauncher.getModel().bindRemainingSynchronousPages();
+ }
+ };
+
/**
* Used to inflate the Workspace from XML.
*
super.onDraw(canvas);
// Call back to LauncherModel to finish binding after the first draw
- post(new Runnable() {
- @Override
- public void run() {
- mLauncher.getModel().bindRemainingSynchronousPages();
- }
- });
+ post(mBindPages);
}
boolean isDrawingBackgroundGradient() {