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

Commit 456c6e7c authored by Tony's avatar Tony Committed by Tony Wickham
Browse files

Close floating views when entering quick scrub

Bug: 74904924
Change-Id: I8f5aa923778cb6a36f85562d066f7c6eb8066089
parent bb2a6054
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
 */
package com.android.launcher3.uioverrides;

import com.android.launcher3.AbstractFloatingView;
import com.android.launcher3.Launcher;
import com.android.quickstep.QuickScrubController;
import com.android.quickstep.views.RecentsView;
@@ -40,6 +41,11 @@ public class FastOverviewState extends OverviewState {
        recentsView.getQuickScrubController().onFinishedTransitionToQuickScrub();
    }

    public void onStateEnabled(Launcher launcher) {
        super.onStateEnabled(launcher);
        AbstractFloatingView.closeAllOpenViews(launcher);
    }

    @Override
    public int getVisibleElements(Launcher launcher) {
        if (DEBUG_DIFFERENT_UI) {