commit | a0401da8bbb135307aa428f238c9ac00d0db5d5f | [log] [tgz] |
---|---|---|
author | Michael Bestas <mkbestas@lineageos.org> | Sun Apr 03 21:59:18 2022 +0300 |
committer | Michael Bestas <mkbestas@lineageos.org> | Mon Apr 04 11:24:32 2022 +0300 |
tree | ac0f4975d49f98d3f1defca05e4d5da3a536bf37 | |
parent | 42016dc1c4e61b4e267b13ad7fae880854f82420 [diff] |
Revert "Gallery2: Edit picture during mount SD" This reverts commit 9fca091600d01a8121c294dca590245e04221b20. Change-Id: I1735769c4e21aae72dc308e24dc90d99e557952e
diff --git a/src/com/android/gallery3d/filtershow/tools/SaveImage.java b/src/com/android/gallery3d/filtershow/tools/SaveImage.java index 443065f..f10e628 100755 --- a/src/com/android/gallery3d/filtershow/tools/SaveImage.java +++ b/src/com/android/gallery3d/filtershow/tools/SaveImage.java
@@ -264,7 +264,7 @@ if (mimeType == null) { mimeType = ImageLoader.getMimeType(mSelectedImageUri); } - if (ImageLoader.JPEG_MIME_TYPE.equals(mimeType)) { + if (mimeType.equals(ImageLoader.JPEG_MIME_TYPE)) { InputStream inStream = null; try { inStream = mContext.getContentResolver().openInputStream(source);