summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2016-02-26 16:09:12 -0800
committerKeisuke Kuroyanagi <ksk@google.com>2016-02-29 16:41:46 -0800
commitd319450307fcbd1f3dd99bf647c2c0281eb18e34 (patch)
treed4fb4abf73d9ab6f6dfeab15eda8fcdaa4dc0a87 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbec9715905c9666db2f0081fcc71abaea5b82cb0 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions