summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/dragndrop/DragLayer.java
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2016-07-22 00:33:12 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-07-22 00:33:13 +0000
commit7122cb8e2b0e6fed791c94e9e64ba70e16e9094d (patch)
treecac380fbcf03a2d7815ba176ae0af0d2a18d4913 /src/com/android/launcher3/dragndrop/DragLayer.java
parent9d6df217af2f54754fc21483d437b3dda0395d9d (diff)
parentc001cf562017d08cd48b67de8f377ca08881e70e (diff)
downloadandroid_packages_apps_Trebuchet-7122cb8e2b0e6fed791c94e9e64ba70e16e9094d.tar.gz
android_packages_apps_Trebuchet-7122cb8e2b0e6fed791c94e9e64ba70e16e9094d.tar.bz2
android_packages_apps_Trebuchet-7122cb8e2b0e6fed791c94e9e64ba70e16e9094d.zip
Merge "Animate discovery bounce for all apps pull up interaction b/30221381" into ub-launcher3-calgary
Diffstat (limited to 'src/com/android/launcher3/dragndrop/DragLayer.java')
-rw-r--r--src/com/android/launcher3/dragndrop/DragLayer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/dragndrop/DragLayer.java b/src/com/android/launcher3/dragndrop/DragLayer.java
index 5f8faab3d..28b6f3ead 100644
--- a/src/com/android/launcher3/dragndrop/DragLayer.java
+++ b/src/com/android/launcher3/dragndrop/DragLayer.java
@@ -280,6 +280,10 @@ public class DragLayer extends InsettableFrameLayout {
int action = ev.getAction();
if (action == MotionEvent.ACTION_DOWN) {
+ // Cancel discovery bounce animation when a user start interacting on anywhere on
+ // dray layer even if mAllAppsController is NOT the active controller.
+ // TODO: handle other input other than touch
+ mAllAppsController.cancelDiscoveryAnimation();
if (handleTouchDown(ev, true)) {
return true;
}