diff options
| author | Cary Clark <cary@android.com> | 2010-03-15 16:01:49 -0400 |
|---|---|---|
| committer | Cary Clark <cary@android.com> | 2010-03-15 16:32:41 -0400 |
| commit | fc2ece4ab6c057cf133c5a320d49f62840d55c4b (patch) | |
| tree | 817c4fa6335c180e27c8f20903e235f102a50814 /core/java/android/webkit/WebView.java | |
| parent | 0e08f2d50aef1057a0e58cfd925bf206cb8ea42c (diff) | |
update comment on WebView loadData
Change-Id: I20fbfabde7eafb8017036a7360ed83fa457cc42c
http://2400117
Diffstat (limited to 'core/java/android/webkit/WebView.java')
| -rw-r--r-- | core/java/android/webkit/WebView.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 3b01b60d4293..52bc8be10e4f 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -1464,7 +1464,9 @@ public class WebView extends AbsoluteLayout * Load the given data into the WebView. This will load the data into * WebView using the data: scheme. Content loaded through this mechanism * does not have the ability to load content from the network. - * @param data A String of data in the given encoding. + * @param data A String of data in the given encoding. The date must + * be URI-escaped -- '#', '%', '\', '?' should be replaced by %23, %25, + * %27, %3f respectively. * @param mimeType The MIMEType of the data. i.e. text/html, image/jpeg * @param encoding The encoding of the data. i.e. utf-8, base64 */ |
