aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/MainLogBuffer.java
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2012-12-17 16:36:03 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-12-17 16:36:03 -0800
commit81bbef3dac2d23fb8e549ad6a2a41286f327a305 (patch)
tree8d7efb00539af4d2e07d0df0af9c51864e338a8b /java/src/com/android/inputmethod/research/MainLogBuffer.java
parent47622165f1a40c903516c97473899c9d3b198dbc (diff)
parentc5da4365fbe6ff23a8db381ee7de6fa43fd7086b (diff)
downloadlatinime-81bbef3dac2d23fb8e549ad6a2a41286f327a305.tar.gz
latinime-81bbef3dac2d23fb8e549ad6a2a41286f327a305.tar.xz
latinime-81bbef3dac2d23fb8e549ad6a2a41286f327a305.zip
am c5da4365: Merge "[Rlog2] ResearchLogging fix multi-space logging"
* commit 'c5da4365fbe6ff23a8db381ee7de6fa43fd7086b': [Rlog2] ResearchLogging fix multi-space logging
Diffstat (limited to 'java/src/com/android/inputmethod/research/MainLogBuffer.java')
-rw-r--r--java/src/com/android/inputmethod/research/MainLogBuffer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/research/MainLogBuffer.java b/java/src/com/android/inputmethod/research/MainLogBuffer.java
index f665e5906..12c189f4a 100644
--- a/java/src/com/android/inputmethod/research/MainLogBuffer.java
+++ b/java/src/com/android/inputmethod/research/MainLogBuffer.java
@@ -118,7 +118,7 @@ public class MainLogBuffer extends LogBuffer {
}
} else {
// Words not in the dictionary are a privacy threat.
- if (!(dictionary.isValidWord(word))) {
+ if (ResearchLogger.hasLetters(word) && !(dictionary.isValidWord(word))) {
return false;
}
}