Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 862ee52b authored by Sunny Goyal's avatar Sunny Goyal Committed by Android Git Automerger
Browse files

am 22aa3813: Pending bind callbacks should be cleared before starting the...

am 22aa3813: Pending bind callbacks should be cleared before starting the loader, similar to startBinding

* commit '22aa3813':
  Pending bind callbacks should be cleared before starting the loader, similar to startBinding
parents de6241e0 22aa3813
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -976,6 +976,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;