am 9ae42fff: am b3fff9d9: Merge "Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide" into ub-launcher3-burnaby

* commit '9ae42fff6f481ea2a06f171da43f630ded313b69':
  Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide
This commit is contained in:
Adam Cohen authored and Android Git Automerger committed 2015-09-21 17:44:54 +00:00
commit 3c9c7263dc
2 files changed
+16 -3

No files matched your search

+1 -1
View File
@@ -1596,7 +1596,7 @@ public class Workspace extends PagedView
}
public boolean isOnOrMovingToCustomContent() {
return hasCustomContent() && getNextPage() == 0;
return hasCustomContent() && getNextPage() == 0 && mRestorePage == INVALID_RESTORE_PAGE;
}
private void updateStateForCustomContent(int screenCenter) {