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
Loading
Please register or sign in to comment