commit | 005fa3f5a789c77765845feab58a572142b26c13 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Tue Mar 24 12:01:14 2020 -0700 |
committer | Winson Chung <winsonc@google.com> | Tue Mar 24 15:11:58 2020 -0700 |
tree | cf99cf108fd579a87f96d794ec9213ed4c70e061 | |
parent | 8ca3d852e5e9b796e9df48b6d9fdd4cabce614cf [diff] |
Remove extra binder calls when not detecting gestures - Previous refactoring meant that we were always fetching the running task to update the gesture state, even when you touch down in an area that is not in the gesture region (which is unnecessary). Also only transforming touch events (currently causes allocations) when we are actually handling a gesture. Change-Id: I32e21c3e4d7113a782afce593711d9df62551bc8