| commit | fdf9315b8ea30a8dc7c1c75b41e531f3e30ded8b | [log] [tgz] |
|---|---|---|
| author | Winson Chung <winsonc@google.com> | Fri May 18 09:11:49 2018 -0700 |
| committer | Winson Chung <winsonc@google.com> | Fri May 18 09:13:17 2018 -0700 |
| tree | 53a19477d580ebdb02fb546b010622792b522a39 | |
| parent | f3cc505e86759e5d3f665592ab3ab48b57e8d7ed [diff] |
Fix thresholds with deferred-start swipe up gestures
- We were previously using the drag threshold (10dp) for both gesture start
and drag start, when we should be using the touch threshold (24dp) for
the deferred gesture start to ensure it coincides with the touch threshold
for the buttons in the nav bar.
Bug: 79970627
Test: Swipe up over the back button, ensure that we don't both start the
animation and also trigger back press
Change-Id: Ib4b2a3e2492da144485f87be5477eabf3e96e843