Check isInDictionary() before the distracter test.
Bug: 13142176 Bug: 15428247 Change-Id: I7ce2c09ebbef6ca8c056807c2a35f2f987fd436e
Showing
- java/src/com/android/inputmethod/latin/DictionaryFacilitator.java 5 additions, 3 deletions.../com/android/inputmethod/latin/DictionaryFacilitator.java
- java/src/com/android/inputmethod/latin/LatinIME.java 2 additions, 2 deletionsjava/src/com/android/inputmethod/latin/LatinIME.java
- java/src/com/android/inputmethod/latin/utils/DistracterFilterCheckingExactMatches.java 3 additions, 4 deletions...hod/latin/utils/DistracterFilterCheckingExactMatches.java
- java/src/com/android/inputmethod/latin/utils/DistracterFilterCheckingIsInDictionary.java 59 additions, 0 deletions...d/latin/utils/DistracterFilterCheckingIsInDictionary.java
- tests/src/com/android/inputmethod/latin/DistracterFilterTest.java 3 additions, 3 deletions...c/com/android/inputmethod/latin/DistracterFilterTest.java
Loading
Please register or sign in to comment