Addressing issues with comments in previous new-app animation delay change.
Change-Id: I1185ae890c5374f9b736c567622372b54fbde0ed
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user