Merge "Fixing animation bug when moving an icon to an adjacent screen"
This commit is contained in:
commit
7f1435c303
1 file changed
+3
-2
@@ -2313,8 +2313,9 @@ public class Workspace extends SmoothPagedView
|
||||
animateWidgetDrop(info, parent, d.dragView,
|
||||
onCompleteRunnable, animationType, cell, false);
|
||||
} else {
|
||||
mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, cell,
|
||||
onCompleteRunnable);
|
||||
int duration = snapScreen < 0 ? -1 : ADJACENT_SCREEN_DROP_DURATION;
|
||||
mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, cell, duration,
|
||||
onCompleteRunnable, this);
|
||||
}
|
||||
} else {
|
||||
d.deferDragViewCleanupPostAnimation = false;
|
||||
|
||||
Reference in new issue
Block a user