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
This commit is contained in:
@@ -1279,6 +1279,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
|||||||
: getScrollForPage(mNextPage);
|
: getScrollForPage(mNextPage);
|
||||||
|
|
||||||
if (showAsGrid()) {
|
if (showAsGrid()) {
|
||||||
|
if (isSplitSelectionActive()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
TaskView taskView = getTaskViewAt(mNextPage);
|
TaskView taskView = getTaskViewAt(mNextPage);
|
||||||
// Only snap to fully visible focused task.
|
// Only snap to fully visible focused task.
|
||||||
if (taskView == null
|
if (taskView == null
|
||||||
|
|||||||
Reference in New Issue
Block a user