Files
frameworks_base/core/java/android/widget
Keisuke Kuroyanagi d319450307 Try to find equivalent SuggestionsSpan when it has been updated.
Suggestion pickup was canceled when SuggestionsSpan corresponding
to the suggestion cannot be found.
This was a problem when suggestion is selected in extracted mode.
Selection is cleared just before creating SuggestionsPopup.
The selection update is reported to the original EditText and it
will invoke TextView#setExtractedText of the extracted one.
In this method, SuggestionSpans are replaced with the new
SuggestionSpans that usually have the same contents as the old
SuggestionSpans.

This CL re-enables "Replace" item in extracted mode.

Bug: 22038802

Change-Id: I74bb813b110fb2f633b8578790d14039755f2d79
2016-02-29 16:41:46 -08:00
..
2016-01-20 10:55:09 -05:00
2015-12-02 14:24:11 +00:00
2015-11-16 16:10:56 -05:00