Ignore the SecurityException for now so that Gmail does not crash. A later CL
will fix the underlying issue.
Bug: 8184899
Change-Id: Iae9e452367237442d723794b95313e3afbb36a48
diff --git a/src/com/android/ex/photo/util/ImageUtils.java b/src/com/android/ex/photo/util/ImageUtils.java
index 250c870..5b1b0d1 100644
--- a/src/com/android/ex/photo/util/ImageUtils.java
+++ b/src/com/android/ex/photo/util/ImageUtils.java
@@ -122,6 +122,8 @@
// Do nothing - the photo will appear to be missing
} catch (IllegalArgumentException exception) {
// Do nothing - the photo will appear to be missing
+ } catch (SecurityException exception) {
+ // Do nothing - the photo will appear to be missing
} finally {
try {
if (inputStream != null) {