commit | 808cd8dfdb10c2ba9dd6921045b6286d076947ea | [log] [tgz] |
---|---|---|
author | Miranda Kephart <mkephart@google.com> | Tue May 07 11:48:47 2019 -0400 |
committer | Miranda Kephart <mkephart@google.com> | Tue May 07 15:31:55 2019 -0400 |
tree | e3a11c589a52acd76193840d63bdd88701367a8a | |
parent | bb036f8e5ac8f7b5f02022260aca69eb3c03d240 [diff] |
Change haptic on Assistant gesture to '13' Fixes: 130303405 Test: manual Change-Id: Ic116e0920782c2f138740ae377c0039eaff5540d
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/AssistantTouchConsumer.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/AssistantTouchConsumer.java index 829e478..d8c5e53 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/AssistantTouchConsumer.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/AssistantTouchConsumer.java
@@ -213,9 +213,9 @@ BaseDraggingActivity launcherActivity = mActivityControlHelper.getCreatedActivity(); if (launcherActivity != null) { - launcherActivity.getRootView(). - performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY, - HapticFeedbackConstants.FLAG_IGNORE_VIEW_SETTING); + launcherActivity.getRootView().performHapticFeedback( + 13, // HapticFeedbackConstants.GESTURE_END + HapticFeedbackConstants.FLAG_IGNORE_VIEW_SETTING); } mSysUiProxy.startAssistant(args);