Loading quickstep/src/com/android/quickstep/views/RecentsView.java +3 −0 Original line number Diff line number Diff line Loading @@ -1396,6 +1396,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T if (taskGroups == null || taskGroups.isEmpty()) { removeTasksViewsAndClearAllButton(); onTaskStackUpdated(); // With all tasks removed, touch handling in PagedView is disabled and we need to reset // touch state or otherwise values will be obsolete. resetTouchState(); return; } Loading src/com/android/launcher3/PagedView.java +1 −1 Original line number Diff line number Diff line Loading @@ -1440,7 +1440,7 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou return Math.abs(velocity) > threshold; } private void resetTouchState() { protected void resetTouchState() { releaseVelocityTracker(); mIsBeingDragged = false; mActivePointerId = INVALID_POINTER; Loading Loading
quickstep/src/com/android/quickstep/views/RecentsView.java +3 −0 Original line number Diff line number Diff line Loading @@ -1396,6 +1396,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T if (taskGroups == null || taskGroups.isEmpty()) { removeTasksViewsAndClearAllButton(); onTaskStackUpdated(); // With all tasks removed, touch handling in PagedView is disabled and we need to reset // touch state or otherwise values will be obsolete. resetTouchState(); return; } Loading
src/com/android/launcher3/PagedView.java +1 −1 Original line number Diff line number Diff line Loading @@ -1440,7 +1440,7 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou return Math.abs(velocity) > threshold; } private void resetTouchState() { protected void resetTouchState() { releaseVelocityTracker(); mIsBeingDragged = false; mActivePointerId = INVALID_POINTER; Loading