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);