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

* commit 'def01fb8dc7da0d8287603ed5694ebe028640dcb':
  Trying to get onShow in all the right places
This commit is contained in:
Adam Cohen
2013-09-30 12:02:47 -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() {