mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Merge "Fix issue with grouped task rects being calculated slightly off" into sc-v2-dev
This commit is contained in:
@@ -3016,6 +3016,10 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
|
||||
@SuppressWarnings("WrongCall")
|
||||
private void onEnd(boolean success) {
|
||||
// Reset task translations as they may have updated via animations in
|
||||
// createTaskDismissAnimation
|
||||
resetTaskVisuals();
|
||||
|
||||
if (success) {
|
||||
if (shouldRemoveTask) {
|
||||
if (dismissedTaskView.getTask() != null) {
|
||||
@@ -3032,10 +3036,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
}
|
||||
}
|
||||
|
||||
// Reset task translations as they may have updated via animations in
|
||||
// createTaskDismissAnimation
|
||||
resetTaskVisuals();
|
||||
|
||||
int pageToSnapTo = mCurrentPage;
|
||||
mCurrentPageScrollDiff = 0;
|
||||
int taskViewIdToSnapTo = -1;
|
||||
|
||||
Reference in New Issue
Block a user