commit | 983a9969dfeddc92b2df5c63169eb987b296376a | [log] [tgz] |
---|---|---|
author | RyanlwLin <ryanlwlin@google.com> | Thu Jul 04 15:37:55 2019 +0800 |
committer | Ryan Lin <ryanlwlin@google.com> | Thu Jul 04 08:15:04 2019 +0000 |
tree | 2b0162ba3ab3200b5aec2d976d9aa3bb0ef3a0a4 | |
parent | 4b5df9e2746af6b97ca820e6c0d34c35a753327e [diff] |
Use DisplayContext to replace default context When detecting gesturs, the threshold is based on the display metrics. To get correct display metrics, we replace default context with displayContext. Bug: 136425762 Test: atest TouchExploreTest Test: atest MagnificationGestureHandlerTest Change-Id: I2d6c5a0ef00966d9164e117fc65dac8131f7a175