commit | 870e62ac801064f83bffc9095cbaee5fe46bdd80 | [log] [tgz] |
---|---|---|
author | nicolasroard <nicolasroard@google.com> | Tue Dec 04 16:22:40 2012 -0800 |
committer | nicolasroard <nicolasroard@google.com> | Tue Dec 04 16:26:59 2012 -0800 |
tree | 5afdf6b3c6fe525b22342cf8bea0501cd3f4113f | |
parent | 7a5377322dcebdaad98df9a31cadc7ff0f464d8a [diff] |
Handle the case where the orientation column is not here... bug:7537610 Change-Id: I4f64891a789358c20206aea3033fd17514199d62
diff --git a/src/com/android/gallery3d/filtershow/cache/ImageLoader.java b/src/com/android/gallery3d/filtershow/cache/ImageLoader.java index 21548b1..afef58a 100644 --- a/src/com/android/gallery3d/filtershow/cache/ImageLoader.java +++ b/src/com/android/gallery3d/filtershow/cache/ImageLoader.java
@@ -151,6 +151,8 @@ } } catch (SQLiteException e){ return ExifInterface.ORIENTATION_UNDEFINED; + } catch (IllegalArgumentException e) { + return ExifInterface.ORIENTATION_UNDEFINED; } finally { Utils.closeSilently(cursor); }