Latin IME bug with deleted text will reappear after screen orientation changes
The deleted text should not appear after screen orientation changes.
When change screen orientation, if the text in editText doesn't contain typedWord, reset mWordCompser.
The cases are as follows:
1. Enter a word that is not in the dictionary to a editText, and enter space
2. Select this word and delete it through the pop-up window
3. Change the screen orientation
Bug: 74163611
Change-Id: I25b2937921851c7dffbcc66216fea52e8c404824
1 file changed