Fix a bug where LatinIME would leak pipes.

Bug: 12667742
Bug: 12821388
Change-Id: Ic0bad56fb96e54ac032759adffc8ea320c06dff2
This commit is contained in:
Jean Chalard 2014-03-28 19:52:58 +09:00
parent 52eb673c46
commit 452cd2f619

View file

@ -130,6 +130,7 @@ public final class InputLogic {
// so we try using some heuristics to find out about these and fix them. // so we try using some heuristics to find out about these and fix them.
mConnection.tryFixLyingCursorPosition(); mConnection.tryFixLyingCursorPosition();
cancelDoubleSpacePeriodCountdown(); cancelDoubleSpacePeriodCountdown();
mInputLogicHandler.destroy();
mInputLogicHandler = new InputLogicHandler(mLatinIME, this); mInputLogicHandler = new InputLogicHandler(mLatinIME, this);
} }