WebView: clarify docs regarding base64 encoding
Docs change only, no change to logic. This CL provides a better loadData() example, using base64 encoding. This uses the Base64 class already provided by Android to automatically handle the encoding. This also changes the percent-encoding docs to: * Link to the official RFC * No longer provide examples of characters to encode (one example was incorrect, '\' is not %27) Bug: 70555565 Test: make docs (manually verify things look good) Test: I built a sample app and tested Base64#encodetoString to make sure the flags are correct Change-Id: If9f810e6b568efdc5d1ad84ac64f2abf3788f40b
Loading
Please register or sign in to comment