summaryrefslogtreecommitdiffstats
path: root/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'photoviewer/src/com/android/ex/photo/util/ImageUtils.java')
-rw-r--r--photoviewer/src/com/android/ex/photo/util/ImageUtils.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/photoviewer/src/com/android/ex/photo/util/ImageUtils.java b/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
index 7519d6f..8564457 100644
--- a/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
+++ b/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
@@ -105,6 +105,8 @@ public class ImageUtils {
// Do nothing - the photo will appear to be missing
} catch (IOException exception) {
// Do nothing - the photo will appear to be missing
+ } catch (IllegalArgumentException exception) {
+ // Do nothing - the photo will appear to be missing
} finally {
try {
if (inputStream != null) {