Pending bind callbacks should be cleared before starting the loader,
similar to startBinding Bug: 23310446 Bug: 19422965 Bug: 23304651 Change-Id: I4821b4c0c7796c33ad9691b6735235a220fa635a
This commit is contained in:
@@ -996,6 +996,12 @@ public class Launcher extends Activity
|
||||
mPaused = false;
|
||||
if (mRestoring || mOnResumeNeedsLoad) {
|
||||
setWorkspaceLoading(true);
|
||||
|
||||
// If we're starting binding all over again, clear any bind calls we'd postponed in
|
||||
// the past (see waitUntilResume) -- we don't need them since we're starting binding
|
||||
// from scratch again
|
||||
mBindOnResumeCallbacks.clear();
|
||||
|
||||
mModel.startLoader(PagedView.INVALID_RESTORE_PAGE);
|
||||
mRestoring = false;
|
||||
mOnResumeNeedsLoad = false;
|
||||
|
||||
Reference in New Issue
Block a user