am 5a6daf46: Merge "Cleanup"

* commit '5a6daf46cf52a3d7e95926c3fcbb3b3295159c29':
  Cleanup
This commit is contained in:
Jean Chalard 2012-02-07 19:45:26 -08:00 committed by Android Git Automerger
commit b2b1100df3

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,