Cleanup
Remove a useless test (we can only come here if the code is not a separator, as we are only called from onCodeInput inside an explicit test). Change-Id: Icd996a5a1c18a550117a144a1d35f167b96211f7
This commit is contained in:
parent
fd6a52c8d5
commit
862f950da3
1 changed files with 1 additions and 5 deletions
|
@ -1533,12 +1533,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
sendKeyChar((char)code);
|
sendKeyChar((char)code);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mSettingsValues.isWordSeparator(code)) {
|
|
||||||
Utils.Stats.onSeparator((char)code, x, y);
|
|
||||||
} else {
|
|
||||||
Utils.Stats.onNonSeparator((char)code, x, y);
|
Utils.Stats.onNonSeparator((char)code, x, y);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Returns true if we did an autocorrection, false otherwise.
|
// Returns true if we did an autocorrection, false otherwise.
|
||||||
private boolean handleSeparator(final int primaryCode, final int x, final int y,
|
private boolean handleSeparator(final int primaryCode, final int x, final int y,
|
||||||
|
|
Loading…
Reference in a new issue