Merge "Cleanup"

This commit is contained in:
Jean Chalard 2012-02-07 19:42:26 -08:00 committed by Android (Google) Code Review
commit 5a6daf46cf

View file

@ -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,