diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 7a16474136..bbe09463a9 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -557,6 +557,12 @@ public class Workspace extends SmoothPagedView mWorkspaceScreens.remove(CUSTOM_CONTENT_SCREEN_ID); mScreenOrder.remove(CUSTOM_CONTENT_SCREEN_ID); removeView(customScreen); + + if (mCustomContentCallbacks != null) { + mCustomContentCallbacks.onScrollProgressChanged(0); + mCustomContentCallbacks.onHide(); + } + mCustomContentCallbacks = null; // Ensure that the current page and default page are maintained.