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

Commit 32ca6011 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am 2ba3223c: Merge change 2855 into donut

Merge commit '2ba3223c'

* commit '2ba3223c':
  Add a new method to load html data into the WebView.
parents ffe9f488 2ba3223c
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -131,6 +131,13 @@ public class GoogleWebContentHelper {
        return this;
    }

    public GoogleWebContentHelper loadDataWithFailUrl(String base, String data, 
        String mimeType, String encoding, String failUrl) {
        ensureViews();
        mWebView.loadDataWithBaseURL(base, data, mimeType, encoding, failUrl);
        return this;
    }

    /**
     * Helper to handle the back key. Returns true if the back key was handled, 
     * otherwise returns false.