summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorSiarhei Vishniakou <svv@google.com>2019-05-29 09:12:18 -0700
committerSiarhei Vishniakou <svv@google.com>2019-05-29 13:46:54 -0700
commitfaa8799621144e2ea2bda6a0cb7656a34e21da76 (patch)
tree9db347f8c67a9227afe4f37edd8be3d20d54a4b7 /startop/scripts/lib/cmd_utils.py
parent54dbca30ed1f9954af3203a67155b2840af129b0 (diff)
Use unbatched inputeventreceiver, reduce touchslop
To ensure gesture navigation has sufficient time to intercept gestures, use unbatched inputreceiver, meaning that input events will be processed immediately rather than on vsync boundaries. Also, reduce touch slop to ensure that interception happens before the app starts to react to the gesture. Fix provided by michaelwr@. Note: if the device is slow (for example, still executing first-boot instructions), then the symptom can still be reproduced. However, once the performance is good, then the issue is no longer observed. Bug: 130352502 Test: open google maps and swipe from right and left. observe that the map doesn't start moving before the back gesture icon appears. Change-Id: I0696509c7f1cb0a0d2450080e0b61e2218a01140
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions