Look up thresholds during decoder reset.

Bug 20701628.

Change-Id: I4de89587776a0859aeda5d2ed76ab1eb4f918458
main
Dan Zivkovic 2015-05-04 14:48:28 -07:00
parent f01cd568f0
commit 9bad1ac33f
3 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ public interface DictionaryFacilitator {
* *
* WARNING: The service methods that call start/finish are very spammy. * WARNING: The service methods that call start/finish are very spammy.
*/ */
void onFinishInput(); void onFinishInput(Context context);
boolean isActive(); boolean isActive();

View File

@ -221,7 +221,7 @@ public class DictionaryFacilitatorImpl implements DictionaryFacilitator {
} }
@Override @Override
public void onFinishInput() { public void onFinishInput(Context context) {
} }
@Override @Override

View File

@ -972,7 +972,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
void onFinishInputInternal() { void onFinishInputInternal() {
super.onFinishInput(); super.onFinishInput();
mDictionaryFacilitator.onFinishInput(); mDictionaryFacilitator.onFinishInput(this);
final MainKeyboardView mainKeyboardView = mKeyboardSwitcher.getMainKeyboardView(); final MainKeyboardView mainKeyboardView = mKeyboardSwitcher.getMainKeyboardView();
if (mainKeyboardView != null) { if (mainKeyboardView != null) {
mainKeyboardView.closing(); mainKeyboardView.closing();