diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2013-01-15 17:23:40 -0800 |
---|---|---|
committer | Ruben Brunk <rubenbrunk@google.com> | 2013-01-15 17:27:03 -0800 |
commit | 29aeb6bc6ca5e750fad9ff1da351b25969513030 (patch) | |
tree | 92b568377b07b8981c651182e46a2f2a33604839 /gallerycommon/src/com/android/gallery3d/common | |
parent | de5d6c6a14c1250dc43c40f5b22cf6ff69362f17 (diff) | |
download | android_packages_apps_Snap-29aeb6bc6ca5e750fad9ff1da351b25969513030.tar.gz android_packages_apps_Snap-29aeb6bc6ca5e750fad9ff1da351b25969513030.tar.bz2 android_packages_apps_Snap-29aeb6bc6ca5e750fad9ff1da351b25969513030.zip |
Fix exif data saving for picasa images.
Bug: 7910836
Change-Id: I8ec1a1ab379c35b0602689a8f7850f5c861e0189
Diffstat (limited to 'gallerycommon/src/com/android/gallery3d/common')
-rw-r--r-- | gallerycommon/src/com/android/gallery3d/common/Utils.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gallerycommon/src/com/android/gallery3d/common/Utils.java b/gallerycommon/src/com/android/gallery3d/common/Utils.java index 3a68745c4..614a081c8 100644 --- a/gallerycommon/src/com/android/gallery3d/common/Utils.java +++ b/gallerycommon/src/com/android/gallery3d/common/Utils.java @@ -26,6 +26,7 @@ import android.text.TextUtils; import android.util.Log; import java.io.Closeable; +import java.io.IOException; import java.io.InterruptedIOException; public class Utils { @@ -173,8 +174,8 @@ public class Utils { if (c == null) return; try { c.close(); - } catch (Throwable t) { - Log.w(TAG, "close fail", t); + } catch (IOException t) { + Log.w(TAG, "close fail ", t); } } |