commit | 6fa63473e197e0abf6664a3899555019a829e119 | [log] [tgz] |
---|---|---|
author | Jon Miranda <jonmiranda@google.com> | Mon Jan 25 15:30:26 2021 -0500 |
committer | Jon Miranda <jonmiranda@google.com> | Mon Jan 25 15:33:50 2021 -0500 |
tree | efe8234483b841ec5188f11296b038f2b7a46694 | |
parent | b18501402c7db25c69d645ff9e3f24928b19324a [diff] |
Fix bug where dragview gets stuck on screen. * Since the BubbleTextViews views do not have a listener, the long press was still getting triggered even though it was in a pressed state. * We only trigger long press if the view is not pressed or if there is no listener. * A listener is only added for widgets, and for long press wiidgets are not pressed state. Bug: 162636845 Test: manual test, repo steps in bug Change-Id: Ia9df12cf31a0844403d69ddacebf2bdbc5c59d3b