aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/deprecated/VoiceProxy.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-02-21 23:42:21 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-02-21 23:42:21 -0800
commite043bf02f2b0a6428a0e6cae20e00cf4432c789f (patch)
treec81612c0405b17b38aa66c147d556c798da970f1 /java/src/com/android/inputmethod/deprecated/VoiceProxy.java
parent1dfdc8056c93a2ea3e26f821af738ce1504af714 (diff)
parent66bb563535dbe3672f99f75bd71763a551444867 (diff)
downloadlatinime-e043bf02f2b0a6428a0e6cae20e00cf4432c789f.tar.gz
latinime-e043bf02f2b0a6428a0e6cae20e00cf4432c789f.tar.xz
latinime-e043bf02f2b0a6428a0e6cae20e00cf4432c789f.zip
Merge "Give LastComposedWord knowledge of the separator (A2)"
Diffstat (limited to 'java/src/com/android/inputmethod/deprecated/VoiceProxy.java')
-rw-r--r--java/src/com/android/inputmethod/deprecated/VoiceProxy.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/deprecated/VoiceProxy.java b/java/src/com/android/inputmethod/deprecated/VoiceProxy.java
index f632b0e02..5c4e9af68 100644
--- a/java/src/com/android/inputmethod/deprecated/VoiceProxy.java
+++ b/java/src/com/android/inputmethod/deprecated/VoiceProxy.java
@@ -56,6 +56,7 @@ import com.android.inputmethod.deprecated.voice.VoiceInput;
import com.android.inputmethod.keyboard.KeyboardSwitcher;
import com.android.inputmethod.keyboard.LatinKeyboardView;
import com.android.inputmethod.latin.EditingUtils;
+import com.android.inputmethod.latin.LastComposedWord;
import com.android.inputmethod.latin.LatinIME;
import com.android.inputmethod.latin.LatinIME.UIHandler;
import com.android.inputmethod.latin.LatinImeLogger;
@@ -553,7 +554,7 @@ public class VoiceProxy implements VoiceInput.UiListener {
mHints.registerVoiceResult(bestResult);
if (ic != null) ic.beginBatchEdit(); // To avoid extra updates on committing older text
- mService.commitTyped(ic);
+ mService.commitTyped(ic, LastComposedWord.NOT_A_SEPARATOR);
EditingUtils.appendText(ic, bestResult);
if (ic != null) ic.endBatchEdit();