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

Commit 9ef8e2dc authored by Alex Chau's avatar Alex Chau
Browse files

Don't snap to focused task in split select

- In split select there is no overview actions, and focused task's snappign position is not centered, it's weird to snap so avoid it
- Follow-up of ag/16378986

Bug: 208644826
Test: manual
Change-Id: I260b5c6164db562717346396b1830af02d408944
parent b6ad9dfa
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1279,6 +1279,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
                            : getScrollForPage(mNextPage);

            if (showAsGrid()) {
                if (isSplitSelectionActive()) {
                    return;
                }
                TaskView taskView = getTaskViewAt(mNextPage);
                // Only snap to fully visible focused task.
                if (taskView == null