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