commit | 7d2aed0cb502873f2d910994a8eddeae74ec7ceb | [log] [tgz] |
---|---|---|
author | Miranda Kephart <mkephart@google.com> | Tue Jun 18 15:41:32 2019 -0400 |
committer | Miranda Kephart <mkephart@google.com> | Wed Jun 19 15:13:03 2019 -0400 |
tree | d016ba0d9166a317fdaeb2a1d844531ba532e617 | |
parent | 6aabe679c5ae11845dfe3d6698dabaf357bb17fd [diff] |
Allow shallow-angle flings in AssistantTouchConsumer While any angle above 22 degrees from horizontal is permitted for drag invocations, the SwipeDetector used to detect flings only allowed angles within 45 degrees of vertical. This changes to using GestureListener and permits flings in the 22-45 degree region (as well as up to vertical). Test: manual Bug: 135011207 Change-Id: I8e08650395917341869b27ff381f32268fadcb3c