diff options
author | 2012-02-08 12:06:18 +0900 | |
---|---|---|
committer | 2012-02-08 12:06:18 +0900 | |
commit | 862f950da3a35e622854e3e5a733c7b592ca7389 (patch) | |
tree | 61a6e050ccb927900604438a479377d2347fe4fa /java/src | |
parent | fd6a52c8d5fea684ef22b38c3a3838a65d259832 (diff) | |
download | latinime-862f950da3a35e622854e3e5a733c7b592ca7389.tar.gz latinime-862f950da3a35e622854e3e5a733c7b592ca7389.tar.xz latinime-862f950da3a35e622854e3e5a733c7b592ca7389.zip |
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
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index af791e5cb..0fd4e58b6 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1533,11 +1533,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar 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. |