Use movement on the trackpad instead of on screen for trackpad gestures used for gesture nav

Bug: 254783214
Test: https://recall.googleplex.com/projects/3388b17c-d22f-46f8-b140-a102690377b4/sessions/f3311fbc-d8cf-4f19-b83c-8626aa285452
Change-Id: Iad2da5831af85dd3647e1e31b42fea0a6302b49c
This commit is contained in:
Tracy Zhou
2022-11-05 00:19:35 -07:00
parent ce6e5a3cb5
commit aef9d75f78
5 changed files with 177 additions and 44 deletions

View File

@@ -231,7 +231,7 @@ public class OverviewCommandHelper {
public void onRecentsAnimationStart(RecentsAnimationController controller,
RecentsAnimationTargets targets) {
activityInterface.runOnInitBackgroundStateUI(() ->
interactionHandler.onGestureEnded(0, new PointF(), new PointF()));
interactionHandler.onGestureEnded(0, new PointF()));
cmd.removeListener(this);
}