Addressing issues with comments in previous new-app animation delay change.
Change-Id: I1185ae890c5374f9b736c567622372b54fbde0ed
diff --git a/src/com/android/launcher2/DragController.java b/src/com/android/launcher2/DragController.java
index 59dcc5b..f2db487 100644
--- a/src/com/android/launcher2/DragController.java
+++ b/src/com/android/launcher2/DragController.java
@@ -111,6 +111,7 @@
private InputMethodManager mInputMethodManager;
private int mLastTouch[] = new int[2];
+ private long mLastTouchUpTime = -1;
private int mDistanceSinceScroll = 0;
private int mTmpPoint[] = new int[2];
@@ -440,7 +441,6 @@
return mTmpPoint;
}
- private long mLastTouchUpTime = -1;
long getLastGestureUpTime() {
if (mDragging) {
return System.currentTimeMillis();
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index f768a39..d451ad2 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -3288,7 +3288,7 @@
runNewAppsAnimation(false);
}
} else {
- // If the user has interacted recently, then run the animations immediately if they
+ // If the user has interacted recently, then just add the items in place if they
// are on another page (or just normally if they are added to the current page)
runNewAppsAnimation(willSnapPage);
}