Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d90be6c9 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix unit test helper

Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c
parent d628e729
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -14,3 +14,7 @@
  void waitUntilUpdateDBDone();
  void waitForDictionaryLoading();
}

-keep class com.android.inputmethod.latin.AutoCorrection {
  java.lang.CharSequence getAutoCorrectionWord();
}
+1 −0
Original line number Diff line number Diff line
@@ -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);