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

Commit 204c220f authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Not opening current task for closed Recents

If Launcher is closed manually while Alt-Tabbing, and then Tab gets
released, we now don't activate the current task in Overview.

Bug: 73090995
Test: After Alt-Tab, while holding Tab, close the Launcher by touch.
Then release Tab.

Change-Id: Ic3c2d02b6b7721e0d8948b84e73dee85eedad800
parent 449b9e7b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -108,9 +108,11 @@ public class OverviewCommandHelper extends InternalStateHandler {

    public void onOverviewHidden() {
        getLauncher().runOnUiThread(() -> {
                    if (isOverviewAlmostVisible()) {
                        final RecentsView rv = getLauncher().getOverviewPanel();
                        rv.launchNextTask();
                    }
                }
        );
    }