mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix unit test helper" into honeycomb-mr1
This commit is contained in:
commit
d465e2aad1
@ -14,3 +14,7 @@
|
||||
void waitUntilUpdateDBDone();
|
||||
void waitForDictionaryLoading();
|
||||
}
|
||||
|
||||
-keep class com.android.inputmethod.latin.AutoCorrection {
|
||||
java.lang.CharSequence getAutoCorrectionWord();
|
||||
}
|
||||
|
@ -73,6 +73,7 @@ public class SuggestHelper {
|
||||
final int[] codes = mKeyDetector.newCodeArray();
|
||||
mKeyDetector.getKeyIndexAndNearbyCodes(x, y, codes);
|
||||
word.add(c, codes, x, y);
|
||||
return;
|
||||
}
|
||||
}
|
||||
word.add(c, new int[] { c }, WordComposer.NOT_A_COORDINATE, WordComposer.NOT_A_COORDINATE);
|
||||
|
Loading…
Reference in New Issue
Block a user