Merge "Import translations. DO NOT MERGE"
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java
index dffaf89..7948948 100644
--- a/src/com/android/launcher2/Workspace.java
+++ b/src/com/android/launcher2/Workspace.java
@@ -2313,8 +2313,9 @@
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;