koush/UrlImageViewHelper — pull request #32 by seanoshea (2012-11-09 20:39:20+00:00)
Title: Closing FileInputStream.

Was getting the following from StrictMode:

E/StrictMode( 878): java.lang.Throwable: Explicit termination method 'close' not called
E/StrictMode( 878):	at dalvik.system.CloseGuard.open(CloseGuard.java:184)
E/StrictMode( 878):	at java.io.FileInputStream.(FileInputStream.java:80)
E/StrictMode( 878):	at java.io.FileInputStream.(FileInputStream.java:105)
E/StrictMode( 878):	at com.koushikdutta.urlimageviewhelper.UrlImageViewHelper.loadDrawableFromStream(UrlImageViewHelper.java:82)
E/StrictMode( 878):	at com.koushikdutta.urlimageviewhelper.UrlImageViewHelper.access$6(UrlImageViewHelper.java:71)
E/StrictMode( 878):	at com.koushikdutta.urlimageviewhelper.UrlImageViewHelper$2.run(UrlImageViewHelper.java:492)
E/StrictMode( 878):	at com.koushikdutta.urlimageviewhelper.UrlImageViewHelper$4.doInBackground(UrlImageViewHelper.java:540)
E/StrictMode( 878):	at com.koushikdutta.urlimageviewhelper.UrlImageViewHelper$4.doInBackground(UrlImageViewHelper.java:1)

Added a finally block to the method to always at least try to close out the stream.