aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2010-05-31 20:20:48 +0900
committersatok <satok@google.com>2010-05-31 20:39:48 +0900
commitc03c7cb2680841e7a80977a0efecd7923e98cd70 (patch)
treee7ea2b3cd43321146e32e1c0ca96458b7e9b41e1 /java/src/com/android/inputmethod/latin/LatinIME.java
parent352f8bc9a3b4348fa1dc8e7abb1407cc34a298c5 (diff)
downloadlatinime-c03c7cb2680841e7a80977a0efecd7923e98cd70.tar.gz
latinime-c03c7cb2680841e7a80977a0efecd7923e98cd70.tar.xz
latinime-c03c7cb2680841e7a80977a0efecd7923e98cd70.zip
Logging issues
- Swap user's input and auto suggested words if they are same - Set user's input blank if punctuation is selected - Not count when user's input has one or more digit Change-Id: I8bbe1cb43287c06f8e284ada0712b1b9ec714dc3
Diffstat (limited to '')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 3bf8238a8..b15de6bd5 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1551,9 +1551,9 @@ public class LatinIME extends InputMethodService
// If this is a punctuation, apply it through the normal key press
if (suggestion.length() == 1 && isWordSeparator(suggestion.charAt(0))) {
// Word separators are suggested before the user inputs something.
- // So, LatinImeLogger logs suggestion.charAt(0) as a user's input.
+ // So, LatinImeLogger logs "" as a user's input.
LatinImeLogger.logOnClickSuggestion(
- suggestion.toString(), suggestion.toString(), index);
+ "", suggestion.toString(), index);
onKey(suggestion.charAt(0), null);
if (ic != null) {
ic.endBatchEdit();