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

Commit d7e80b9d authored by Michael Kolb's avatar Michael Kolb Committed by Android (Google) Code Review
Browse files

Merge "fix NPE in getSearchBox" into honeycomb-mr1

parents a7001ee8 b748186c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5036,6 +5036,9 @@ public class WebView extends AbsoluteLayout
     * @hide pending API Council approval.
     */
    public SearchBox getSearchBox() {
        if ((mWebViewCore == null) || (mWebViewCore.getBrowserFrame() == null)) {
            return null;
        }
        return mWebViewCore.getBrowserFrame().getSearchBox();
    }