parent
f06bcdf695
commit
f43c8c2c68
|
@ -1302,7 +1302,7 @@ final public class InAppWebView extends InputAwareWebView {
|
||||||
public void run() {
|
public void run() {
|
||||||
InputMethodManager imm =
|
InputMethodManager imm =
|
||||||
(InputMethodManager) getContext().getSystemService(INPUT_METHOD_SERVICE);
|
(InputMethodManager) getContext().getSystemService(INPUT_METHOD_SERVICE);
|
||||||
if (imm != null && !imm.isAcceptingText()) {
|
if (containerView!=null && imm != null && !imm.isAcceptingText()) {
|
||||||
|
|
||||||
imm.hideSoftInputFromWindow(
|
imm.hideSoftInputFromWindow(
|
||||||
containerView.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);
|
containerView.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);
|
||||||
|
|
Loading…
Reference in New Issue