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

Commit 52eaebea authored by Stefan Andonian's avatar Stefan Andonian Committed by Android (Google) Code Review
Browse files

Merge "Close open folders when pausing launcher." into tm-dev

parents 44f9f676 253c23b2
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1189,6 +1189,7 @@ public class Launcher extends StatefulActivity<LauncherState> implements Launche
            mOverlayManager.onActivityResumed(this);
        }

        AbstractFloatingView.closeOpenViews(this, false, TYPE_ALL & ~TYPE_REBIND_SAFE);
        TraceHelper.INSTANCE.endSection(traceToken);
    }

@@ -1692,9 +1693,6 @@ public class Launcher extends StatefulActivity<LauncherState> implements Launche
            outState.remove(RUNTIME_STATE_WIDGET_PANEL);
        }

        // We close any open folders and shortcut containers that are not safe for rebind,
        // and we need to make sure this state is reflected.
        AbstractFloatingView.closeOpenViews(this, false, TYPE_ALL & ~TYPE_REBIND_SAFE);
        finishAutoCancelActionMode();

        if (mPendingRequestArgs != null) {