am 2ba3223c: Merge change 2855 into donut
Merge commit '2ba3223cc9a4deb2980ba3c15a9b25c5652166a8' * commit '2ba3223cc9a4deb2980ba3c15a9b25c5652166a8': Add a new method to load html data into the WebView.
This commit is contained in:
committed by
The Android Open Source Project
commit
32ca6011df
@@ -130,7 +130,14 @@ public class GoogleWebContentHelper {
|
||||
mWebView.loadUrl(mSecureUrl);
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user