Provide final callbacks before remove CustomContent (issue 11169651)
Change-Id: I0c30d58a4380f4525dcabf54a0cabf3789031ba6
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user