diff options
author | Matthew Ng <ngmatthew@google.com> | 2018-05-31 14:21:34 -0700 |
---|---|---|
committer | Matthew Ng <ngmatthew@google.com> | 2018-06-11 10:45:47 -0700 |
commit | c4b75abf3b1c33716253e7c5623e1e8e7581ede5 (patch) | |
tree | 9b722eae9a6d2a6b3380d9c18aaa716bb47ceb6f /src/com/android/launcher3/touch | |
parent | 5ac259c46e8ed798b1313bd6421ade7249204215 (diff) | |
download | android_packages_apps_Trebuchet-c4b75abf3b1c33716253e7c5623e1e8e7581ede5.tar.gz android_packages_apps_Trebuchet-c4b75abf3b1c33716253e7c5623e1e8e7581ede5.tar.bz2 android_packages_apps_Trebuchet-c4b75abf3b1c33716253e7c5623e1e8e7581ede5.zip |
Added haptic feedback when swipe/fling up from an app in fullscreen
This includes swiping/fling up from a fullscreen app and swiping/fling
down a task to a fullscreen app.
Test: swipe up when app is fullscreen
Fixes: 80543530
Change-Id: Iee259284cc6d4fe1e784532f0822ffd38cdee280
Diffstat (limited to 'src/com/android/launcher3/touch')
-rw-r--r-- | src/com/android/launcher3/touch/AbstractStateChangeTouchController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/touch/AbstractStateChangeTouchController.java b/src/com/android/launcher3/touch/AbstractStateChangeTouchController.java index 898b1b7af..ff3b42590 100644 --- a/src/com/android/launcher3/touch/AbstractStateChangeTouchController.java +++ b/src/com/android/launcher3/touch/AbstractStateChangeTouchController.java @@ -326,7 +326,7 @@ public abstract class AbstractStateChangeTouchController } }); mAtomicAnim.start(); - mLauncher.getDragLayer().performHapticFeedback(HapticFeedbackConstants.CONTEXT_CLICK); + mLauncher.getDragLayer().performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY); } } |