summaryrefslogtreecommitdiff
path: root/include/utils/AndroidUnicode.h
diff options
context:
space:
mode:
author Patrick Scott <phanna@android.com> 2009-04-29 10:21:57 -0400
committer Patrick Scott <phanna@android.com> 2009-04-29 14:11:27 -0400
commite82dc4205285a40d6c2227e362c30ce24c96a552 (patch)
tree7f0d1c0d21365274aa379c8cd226a80aeb2330e0 /include/utils/AndroidUnicode.h
parent42fba356cf90612986fb4d0627d1f8c349cf8db7 (diff)
Parse the base64 data before creating the data stream.
This will ensure that we do not parse the data in chunks when passing it to the LoadListener. Decoding in chunks can lead to incomplete sequences which will lead to a failed decode. Check for a cancelled LoadListener in StreamLoader and stop the load. This is just a shortcut for downloaded or failed resources. Cleanup some of the LoadListener code around resetting a few member variables. Reset them in the status callback since that indicates a new response from the server (or StreamLoader).
Diffstat (limited to 'include/utils/AndroidUnicode.h')
0 files changed, 0 insertions, 0 deletions