Update custom content hint after custom content is invalidated (Bug 11067230)

Change-Id: I5f98e2a0e4bc3439ff36688555990798c59efa58
This commit is contained in:
Winson Chung committed 2013-10-10 11:59:35 -07:00
1 parent f248abc122
commit 82e5c98446
2 files changed
+58 -5

No files matched your search

+6
View File
@@ -539,6 +539,9 @@ public class Workspace extends SmoothPagedView
// Ensure that the current page and default page are maintained.
mDefaultPage = mOriginalDefaultPage + 1;
setCurrentPage(getCurrentPage() + 1);
// Update the custom content hint
mLauncher.updateCustomContentHintVisibility();
}
public void removeCustomContentPage() {
@@ -555,6 +558,9 @@ public class Workspace extends SmoothPagedView
// Ensure that the current page and default page are maintained.
mDefaultPage = mOriginalDefaultPage - 1;
setCurrentPage(getCurrentPage() - 1);
// Update the custom content hint
mLauncher.updateCustomContentHintVisibility();
}
public void addToCustomContentPage(View customContent, CustomContentCallbacks callbacks,