am e9c89c81: Merge "gallery: change typo \'&&\' to \'||\'"

* commit 'e9c89c814c97a74456ad1bf8d4c32a983663924c':
  gallery: change typo '&&' to '||'
diff --git a/src/com/android/gallery3d/filtershow/tools/SaveImage.java b/src/com/android/gallery3d/filtershow/tools/SaveImage.java
index c3cdea8..0c12fa4 100644
--- a/src/com/android/gallery3d/filtershow/tools/SaveImage.java
+++ b/src/com/android/gallery3d/filtershow/tools/SaveImage.java
@@ -706,6 +706,9 @@
         values.put(Images.Media.ORIENTATION, 0);
         values.put(Images.Media.DATA, file.getAbsolutePath());
         values.put(Images.Media.SIZE, file.length());
+        // This is a workaround to trigger the MediaProvider to re-generate the
+        // thumbnail.
+        values.put(Images.Media.MINI_THUMB_MAGIC, 0);
 
         final String[] projection = new String[] {
                 ImageColumns.DATE_TAKEN,