summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2013-06-03 11:44:22 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-06-03 11:44:22 -0700
commit4c400b2f79ff7b4b4f11f5b45326316ac7af075c (patch)
treedf38d63056b7f77b054a79c4a95216126063dd00 /src/com/android/gallery3d
parent3939633cad71e4e9da482752dd3b1cde850ef963 (diff)
parent1f48263ef924d9c92deb1e11b3b0cf94673ac1c5 (diff)
downloadandroid_packages_apps_Snap-4c400b2f79ff7b4b4f11f5b45326316ac7af075c.tar.gz
android_packages_apps_Snap-4c400b2f79ff7b4b4f11f5b45326316ac7af075c.tar.bz2
android_packages_apps_Snap-4c400b2f79ff7b4b4f11f5b45326316ac7af075c.zip
am 8bb4e1a0: Fixes reading exif tags in editor.
* commit '8bb4e1a036e67a3bf4f9cdb8f55d6f558189e5b9': Fixes reading exif tags in editor.
Diffstat (limited to 'src/com/android/gallery3d')
-rw-r--r--src/com/android/gallery3d/filtershow/tools/SaveCopyTask.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/tools/SaveCopyTask.java b/src/com/android/gallery3d/filtershow/tools/SaveCopyTask.java
index b5de6929a..2862be286 100644
--- a/src/com/android/gallery3d/filtershow/tools/SaveCopyTask.java
+++ b/src/com/android/gallery3d/filtershow/tools/SaveCopyTask.java
@@ -133,7 +133,7 @@ public class SaveCopyTask extends AsyncTask<ImagePreset, Void, Uri> {
public ExifInterface getExifData(Uri source) {
ExifInterface exif = new ExifInterface();
String mimeType = context.getContentResolver().getType(sourceUri);
- if (mimeType == ImageLoader.JPEG_MIME_TYPE) {
+ if (mimeType.equals(ImageLoader.JPEG_MIME_TYPE)) {
InputStream inStream = null;
try {
inStream = context.getContentResolver().openInputStream(source);