diff options
author | Gilles Debunne <debunne@google.com> | 2010-07-15 18:06:36 -0700 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2010-07-23 13:40:59 -0700 |
commit | 8cd48574a755bea86243e9f9eabaee341ecf9c60 (patch) | |
tree | d22d1899d4a218b43c042bf4c3bf30e9b14f6063 /opengl/libagl/TextureObjectManager.cpp | |
parent | 021697ad3d4ef981d0deae1fa223ed06f30df738 (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
Cherry picked from master CL57808
Change-Id: Ie6856898b21ba31de1209e1f995b4ae784c919b9
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions