mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "fixing ime crash in emulator"
This commit is contained in:
commit
4a29e9fdea
@ -565,14 +565,18 @@ public class LatinIME extends InputMethodService
|
||||
public void onFinishInput() {
|
||||
super.onFinishInput();
|
||||
|
||||
if (mAfterVoiceInput) mVoiceInput.logInputEnded();
|
||||
if (VOICE_INSTALLED && mAfterVoiceInput) {
|
||||
mVoiceInput.logInputEnded();
|
||||
}
|
||||
|
||||
mVoiceInput.flushLogs();
|
||||
if (VOICE_INSTALLED) {
|
||||
mVoiceInput.flushLogs();
|
||||
}
|
||||
|
||||
if (mInputView != null) {
|
||||
mInputView.closing();
|
||||
}
|
||||
if (VOICE_INSTALLED & mRecognizing) {
|
||||
if (VOICE_INSTALLED && mRecognizing) {
|
||||
mVoiceInput.cancel();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user