Loading quickstep/src/com/android/quickstep/views/RecentsView.java +12 −26 Original line number Original line Diff line number Diff line Loading @@ -3812,7 +3812,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T taskViewIdArray.removeValue( taskViewIdArray.removeValue( finalNextFocusedTaskView.getTaskViewId()); finalNextFocusedTaskView.getTaskViewId()); } } try { if (snappedIndex < taskViewIdArray.size()) { if (snappedIndex < taskViewIdArray.size()) { taskViewIdToSnapTo = taskViewIdArray.get(snappedIndex); taskViewIdToSnapTo = taskViewIdArray.get(snappedIndex); } else if (snappedIndex == taskViewIdArray.size()) { } else if (snappedIndex == taskViewIdArray.size()) { Loading @@ -3827,19 +3826,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T snappedIndex); snappedIndex); } } } } } catch (ArrayIndexOutOfBoundsException e) { throw new IllegalStateException( "b/269956477 invalid snappedIndex" + "\nsnappedTaskViewId: " + snappedTaskViewId + "\nfocusedTaskViewId: " + mFocusedTaskViewId + "\ntopRowIdArray: " + getTopRowIdArray().toConcatString() + "\nbottomRowIdArray: " + getBottomRowIdArray().toConcatString(), e); } } } } } Loading Loading
quickstep/src/com/android/quickstep/views/RecentsView.java +12 −26 Original line number Original line Diff line number Diff line Loading @@ -3812,7 +3812,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T taskViewIdArray.removeValue( taskViewIdArray.removeValue( finalNextFocusedTaskView.getTaskViewId()); finalNextFocusedTaskView.getTaskViewId()); } } try { if (snappedIndex < taskViewIdArray.size()) { if (snappedIndex < taskViewIdArray.size()) { taskViewIdToSnapTo = taskViewIdArray.get(snappedIndex); taskViewIdToSnapTo = taskViewIdArray.get(snappedIndex); } else if (snappedIndex == taskViewIdArray.size()) { } else if (snappedIndex == taskViewIdArray.size()) { Loading @@ -3827,19 +3826,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T snappedIndex); snappedIndex); } } } } } catch (ArrayIndexOutOfBoundsException e) { throw new IllegalStateException( "b/269956477 invalid snappedIndex" + "\nsnappedTaskViewId: " + snappedTaskViewId + "\nfocusedTaskViewId: " + mFocusedTaskViewId + "\ntopRowIdArray: " + getTopRowIdArray().toConcatString() + "\nbottomRowIdArray: " + getBottomRowIdArray().toConcatString(), e); } } } } } Loading