am 1c835437: Merge "Do not triggerVoiceIME at changing subtype if IME is not shown." into honeycomb
* commit '1c835437a54340ccd274f2a27373b1a8ec013105': Do not triggerVoiceIME at changing subtype if IME is not shown.main
commit
44757e1e73
|
@ -16,7 +16,6 @@
|
|||
|
||||
package com.android.inputmethod.latin;
|
||||
|
||||
import com.android.inputmethod.keyboard.Keyboard;
|
||||
import com.android.inputmethod.keyboard.KeyboardSwitcher;
|
||||
import com.android.inputmethod.voice.SettingsUtil;
|
||||
import com.android.inputmethod.voice.VoiceIMEConnector;
|
||||
|
@ -433,6 +432,7 @@ public class SubtypeSwitcher {
|
|||
}
|
||||
|
||||
private void triggerVoiceIME() {
|
||||
if (!mService.isInputViewShown()) return;
|
||||
VoiceIMEConnector.getInstance().startListening(false,
|
||||
KeyboardSwitcher.getInstance().getInputView().getWindowToken(), false);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue