We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7247c7 commit d4717b8Copy full SHA for d4717b8
core/java/android/webkit/WebViewClassic.java
@@ -8243,6 +8243,12 @@ public void onChanged() {
8243
8244
@Override
8245
public void run() {
8246
+ if (mWebViewCore == null
8247
+ || getWebView().getWindowToken() == null
8248
+ || getWebView().getViewRootImpl() == null) {
8249
+ // We've been detached and/or destroyed since this was posted
8250
+ return;
8251
+ }
8252
final ListView listView = (ListView) LayoutInflater.from(mContext)
8253
.inflate(com.android.internal.R.layout.select_dialog, null);
8254
final MyArrayListAdapter adapter = new MyArrayListAdapter();
0 commit comments