am a130ad32: am def01fb8: Merge "Trying to get onShow in all the right places" into jb-ub-now-indigo-rose

* commit 'a130ad32c38189531e2ee7ba2813921a346118fc':
  Trying to get onShow in all the right places
This commit is contained in:
Adam Cohen
2013-09-30 12:05:26 -07:00
committed by Android Git Automerger
+6 -6
View File
@@ -1024,6 +1024,12 @@ public class Workspace extends SmoothPagedView
stripEmptyScreens();
mStripScreensOnPageStopMoving = false;
}
}
@Override
protected void notifyPageSwitchListener() {
super.notifyPageSwitchListener();
Launcher.setScreen(mCurrentPage);
if (hasCustomContent() && getNextPage() == 0 && !mCustomContentShowing) {
mCustomContentShowing = true;
@@ -1040,12 +1046,6 @@ public class Workspace extends SmoothPagedView
mLauncher.setVoiceButtonProxyVisible(true);
}
}
}
@Override
protected void notifyPageSwitchListener() {
super.notifyPageSwitchListener();
Launcher.setScreen(mCurrentPage);
};
protected void setWallpaperDimension() {