commit | cfa13a77ed8f7fb479fd3556c93586654200f7ea | [log] [tgz] |
---|---|---|
author | Andrei Stingaceanu <stg@google.com> | Wed Jul 08 15:07:59 2015 +0100 |
committer | Andrei Stingaceanu <stg@google.com> | Mon Jul 13 11:14:43 2015 +0100 |
tree | 272ec114201630d37a6daa314413c03c799b5567 | |
parent | 96d00ab359d60197321f06b4feb3d01f3fa03a29 [diff] |
Fix insertion handle disappearing in extract mode In extract mode, on every screen touch TextView#setExtractedText gets called which calls SpannableStringBuilder#sendTextChanged which in turn stops the action mode. As a fix, if the text is the same only copy the spans without replacing everything. Bug: 22315095 Change-Id: I28da760b3dc11e1cfbaf720e547bd817c5b89d7e