mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1138635 - Keep keyboard up after voice input. r=liuche
This commit is contained in:
parent
7ade644db9
commit
de8173f084
@ -531,6 +531,10 @@ public class ToolbarEditText extends CustomEditText
|
||||
String text = voiceStrings.get(0);
|
||||
setText(text);
|
||||
setSelection(0, text.length());
|
||||
|
||||
final InputMethodManager imm =
|
||||
(InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||
imm.showSoftInput(ToolbarEditText.this, InputMethodManager.SHOW_IMPLICIT);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user