Commit 9c3d76dc authored by 李增强's avatar 李增强

修复弹出其他窗口崩溃问题

parent f7af3130
...@@ -1646,6 +1646,9 @@ final public class InAppWebView extends InputAwareWebView { ...@@ -1646,6 +1646,9 @@ final public class InAppWebView extends InputAwareWebView {
new Runnable() { new Runnable() {
@Override @Override
public void run() { public void run() {
if(containerView == null){
return;
}
InputMethodManager imm = InputMethodManager imm =
(InputMethodManager) getContext().getSystemService(INPUT_METHOD_SERVICE); (InputMethodManager) getContext().getSystemService(INPUT_METHOD_SERVICE);
if (imm != null && !imm.isAcceptingText()) { if (imm != null && !imm.isAcceptingText()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment