Addressing issues with comments in previous new-app animation delay change.

Change-Id: I1185ae890c5374f9b736c567622372b54fbde0ed
This commit is contained in:
Winson Chung
2012-04-12 10:59:27 -07:00
parent 2c2b28ae55
commit 318eee06ae
2 changed files with 2 additions and 2 deletions
@@ -111,6 +111,7 @@ public class DragController {
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 @@ public class DragController {
return mTmpPoint;
}
private long mLastTouchUpTime = -1;
long getLastGestureUpTime() {
if (mDragging) {
return System.currentTimeMillis();
+1 -1
View File
@@ -3288,7 +3288,7 @@ public final class Launcher extends Activity
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);
}