summaryrefslogtreecommitdiff
path: root/libs/shaders/shaders.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-11-02 20:05:13 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-11-03 18:25:22 +0000
commitb80b6c0e6d9c69957fb9ffa3d0467ad626af2fbe (patch)
tree4f084d9931c68fdd42f172e88b3e58b0f126d13b /libs/shaders/shaders.cpp
parentf0ab2c87b0908c0bdfeb01dc39a7393b1d932859 (diff)
Do not assume we are in POINTER mode when canceling pointer gestures
The change in ag/19758680 made it so that we now reset TouchInputMapper after the viewport is disabled. When resetting, we cancel any ongoing gestures. Since the mapper is re-configured before the gesture is canceled, this means that as the viewport is getting disabled, the mapper (which was previously in POINTER mode) is set to DISABLED mode. When the pointer gesture is canceled afterwards, it is happening while the mapper is already DISABLED. In this CL, we allow pointer gestures to be aborted even when the mapper is not in POINTER mode. Bug: 257071757 Test: atest inputflinger_tests Change-Id: I5c80a5c1c411d16f70ed4f7cce6dd97ed91e124f
Diffstat (limited to 'libs/shaders/shaders.cpp')
0 files changed, 0 insertions, 0 deletions