Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27cf6611 authored by John Reck's avatar John Reck Committed by Android Git Automerger
Browse files

am db2a68f3: am df35aa45: Merge "Verify attached before showing a dialog" into jb-dev

* commit 'db2a68f3':
  Verify attached before showing a dialog
parents 3cb34153 db2a68f3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -8242,6 +8242,12 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc

        @Override
        public void run() {
            if (mWebViewCore == null
                    || getWebView().getWindowToken() == null
                    || getWebView().getViewRootImpl() == null) {
                // We've been detached and/or destroyed since this was posted
                return;
            }
            final ListView listView = (ListView) LayoutInflater.from(mContext)
                    .inflate(com.android.internal.R.layout.select_dialog, null);
            final MyArrayListAdapter adapter = new MyArrayListAdapter();