Cache OutOfMemoryError for BitmapHelper

This commit is contained in:
seven332 committed 2016-03-11 14:17:06 +08:00
1 parent d9f56830a4
commit 62d805508f
1 file changed
+2
@@ -35,6 +35,8 @@ public class BitmapHelper implements ValueHelper<Bitmap> {
try {
isPipe.obtain();
return BitmapFactory.decodeStream(isPipe.open());
} catch (OutOfMemoryError e) {
return null;
} catch (IOException e) {
return null;
} finally {