diff options
author | Keisuke Kuroyanagi <ksk@google.com> | 2016-03-15 15:40:43 +0900 |
---|---|---|
committer | Keisuke Kuroyanagi <ksk@google.com> | 2016-03-15 15:40:43 +0900 |
commit | 6e0860d9596314230bb9bcbe2e82467b0251ab9a (patch) | |
tree | 9a91ea9e98f47c36899ccd546229e341575d90e1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f8e0da2624e1f5d99a493889e789e5f533b6fe0c (diff) |
Add a check for misspelled span change.
Previously, misspelled span is directly used in AddToDicitonary's
OnClickListener. It can crash because misspelled span can have been
updated since SuggestiosPopup is shown.
Also, AddToDictionary didn't work correctly in full screen extracted
mode. Use findEquivalentSuggestionSpan to resolve it.
Bug: 27557526
Change-Id: I51d713dbdd0c44ea2c553164b81b1123a2325aa1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions