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

Commit acd796b1 authored by George Mount's avatar George Mount Committed by Android Git Automerger
Browse files

am 20c15a42: Merge "Fix monkey NPE in AutoCompletePopup" into jb-dev

* commit '20c15a42':
  Fix monkey NPE in AutoCompletePopup
parents 3022b6b9 20c15a42
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -181,9 +181,12 @@ class AutoCompletePopup implements OnItemClickListener, Filter.FilterListener,
                // There is no autofill profile setup yet and the user has
                // elected to try and set one up. Call through to the
                // embedder to action that.
                mWebView.getWebChromeClient().setupAutoFill(
                WebChromeClient webChromeClient = mWebView.getWebChromeClient();
                if (webChromeClient != null) {
                    webChromeClient.setupAutoFill(
                        mHandler.obtainMessage(AUTOFILL_FORM));
                }
            }
        } else {
            Object selectedItem;
            if (position < 0) {