Fix warning

This commit is contained in:
Cameron Gutman 2015-10-10 15:04:49 -07:00
parent 654b33d27f
commit f395a0c170

View File

@ -41,9 +41,7 @@ public class DiskAssetLoader {
BitmapFactory.Options options = new BitmapFactory.Options(); BitmapFactory.Options options = new BitmapFactory.Options();
options.inSampleSize = sampleSize; options.inSampleSize = sampleSize;
bmp = BitmapFactory.decodeStream(in, null, options); bmp = BitmapFactory.decodeStream(in, null, options);
} catch (FileNotFoundException ignored) { } catch (IOException ignored) {
} catch (IOException e) {
e.printStackTrace();
} finally { } finally {
if (in != null) { if (in != null) {
try { try {