Merge "Fix unit test helper" into honeycomb-mr1

main
Tadashi G. Takaoka 2011-03-03 23:09:33 -08:00 committed by Android (Google) Code Review
commit d465e2aad1
2 changed files with 5 additions and 0 deletions

View File

@ -14,3 +14,7 @@
void waitUntilUpdateDBDone();
void waitForDictionaryLoading();
}
-keep class com.android.inputmethod.latin.AutoCorrection {
java.lang.CharSequence getAutoCorrectionWord();
}

View File

@ -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);