Trying to get onShow in all the right places
Change-Id: I875ecc160640a425026b1a8dc8ca2d48ae172a22
This commit is contained in:
1 parent
b66773cfb9
commit
89cbbb9d2e
1 file changed
+6
-6
@@ -1023,6 +1023,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;
|
||||
@@ -1037,12 +1043,6 @@ public class Workspace extends SmoothPagedView
|
||||
mLauncher.resetQSBScroll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void notifyPageSwitchListener() {
|
||||
super.notifyPageSwitchListener();
|
||||
Launcher.setScreen(mCurrentPage);
|
||||
};
|
||||
|
||||
protected void setWallpaperDimension() {
|
||||
|
||||
Reference in new issue
Block a user