Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bb4e1a0 authored by Ruben Brunk's avatar Ruben Brunk
Browse files

Fixes reading exif tags in editor.

Bug: 9140401
Change-Id: Ic84efca90c5297ab2c6a65b13d512c4799e623f6
parent 6d1345aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);