Fix for "smiley after voice input erases the voice part". Bug 2415033
parent
a9f4b19ca4
commit
8472bb611e
|
@ -979,6 +979,9 @@ public class LatinIME extends InputMethodService
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onText(CharSequence text) {
|
public void onText(CharSequence text) {
|
||||||
|
if (VOICE_INSTALLED && mVoiceInputHighlighted) {
|
||||||
|
commitVoiceInput();
|
||||||
|
}
|
||||||
InputConnection ic = getCurrentInputConnection();
|
InputConnection ic = getCurrentInputConnection();
|
||||||
if (ic == null) return;
|
if (ic == null) return;
|
||||||
ic.beginBatchEdit();
|
ic.beginBatchEdit();
|
||||||
|
|
Loading…
Reference in New Issue