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

Commit b11387a6 authored by Ben Murdoch's avatar Ben Murdoch Committed by Android Git Automerger
Browse files

am 2ffc9ec3: Ensure we dismiss the <select> option dialog.

* commit '2ffc9ec3':
  Ensure we dismiss the <select> option dialog.
parents b567c41b 2ffc9ec3
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -1628,6 +1628,14 @@ public class WebView extends AbsoluteLayout
        clearTextEntry();
        clearActionModes();
        dismissFullScreenMode();
        cancelSelectDialog();
    }

    private void cancelSelectDialog() {
        if (mListBoxDialog != null) {
            mListBoxDialog.cancel();
            mListBoxDialog = null;
        }
    }

    /**
@@ -3279,6 +3287,8 @@ public class WebView extends AbsoluteLayout
            if (mNativeClass != 0) {
                nativeSetPauseDrawing(mNativeClass, true);
            }

            cancelSelectDialog();
        }
    }