diff options
| author | 2011-09-01 13:27:33 -0700 | |
|---|---|---|
| committer | 2011-09-02 11:26:46 -0700 | |
| commit | 70a6312f09329bd0b19343bc7906f9ce665fe3ad (patch) | |
| tree | 5e85edfbd2de5dee45b1d60229a8db379933e5cb /libs/utils/Threads.cpp | |
| parent | 52f159c79e4ed3367a929f4bc34ab3e184f82a15 (diff) | |
Fixes around text selection
Text selection mode was started by two consecutive taps inside a
field with selectAllOnFocus.
ArrowKeyMovementMethod does not respect the possible cancelLongPress and handles up events.
As a result a scroll that happens to end up at its initial position will be considered a tap
and will move the cursor.
This is however not considered as a tap in TextView and a possible selection mode would not
be stopped in that case.
Fixed by making ArrowKeyMovementMethod aware of the cancel that happened in Touch.
Change-Id: I07372b703f250e1edc7ee0665318ce30441b9187
Diffstat (limited to 'libs/utils/Threads.cpp')
0 files changed, 0 insertions, 0 deletions