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

Commit 7d4e52ba authored by Victoria Lease's avatar Victoria Lease Committed by Gerrit Code Review
Browse files

Merge "FIX Null Pointer Exception on dialog cancel"

parents f45efd27 fe6c30e4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8368,8 +8368,10 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
            mListBoxDialog.setOnCancelListener(new DialogInterface.OnCancelListener() {
                @Override
                public void onCancel(DialogInterface dialog) {
                 if (mWebViewCore != null) {
                    mWebViewCore.sendMessage(
                                EventHub.SINGLE_LISTBOX_CHOICE, -2, 0);
                    }
                    mListBoxDialog = null;
                }
            });