diff options
| author | 2010-07-15 18:06:36 -0700 | |
|---|---|---|
| committer | 2010-07-15 18:12:50 -0700 | |
| commit | fc224b3e5397f8a9246d373c866be55a7cbb6188 (patch) | |
| tree | 227d3c53c26c6ab60abdb99840fa324385443cbf /libs/hwui/Program.cpp | |
| parent | 607d117aa360f74bd1b83a849fbee87f9660ad93 (diff) | |
Fixed bug in BitmapFactory.decodeStream
Downloading images over a slow connection could result in errors and
null images.
The JavaInputStreamAdaptor::do_skip method was correctly called in a
loop (to handle the EOF case using read()), but the amount that was
skipped at each time was not decreased by the amount already skipped.
Bug http://code.google.com/p/android/issues/detail?id=6066
Change-Id: Id897cdbe027e2d8c56df9fc399b3c92affb89c59
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions