diff options
author | Clara Bayarri <clarabayarri@google.com> | 2015-05-15 12:18:24 +0100 |
---|---|---|
committer | Clara Bayarri <clarabayarri@google.com> | 2015-06-03 22:06:55 +0100 |
commit | dfac443516118631091124dfba271194fcaf5076 (patch) | |
tree | df9878ed8ba3e0bdebc015f02e79bb7c69b5f98b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f3edbb55ddf45ba2b37c18dea9e2e80594b81523 (diff) |
Fix Floating tool bar covers text during long press + drag
The existing implementation started the ActionMode even when knowing
a drag would start. Moved this logic to once the drag is complete,
to avoid the toolbar popping up while the user is still dragging.
Since the existing method selected the initial word when no other
selection existed, refactored that logic so it is also performed at
the start of the drag. Otherwise, the user sees no selection until
he drags over 2 or more words.
Bug: 21144634
Change-Id: I97cf89b1c4c3ebdbbd1af50bd1ce5aa4af72164b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions