Commits

Gilles Debunne authored fc224b3e539
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