summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data/UriImage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/data/UriImage.java')
-rw-r--r--src/com/android/gallery3d/data/UriImage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/data/UriImage.java b/src/com/android/gallery3d/data/UriImage.java
index 0cc1140c6..13176e4aa 100644
--- a/src/com/android/gallery3d/data/UriImage.java
+++ b/src/com/android/gallery3d/data/UriImage.java
@@ -233,8 +233,8 @@ public class UriImage extends MediaItem {
supported |= SUPPORT_SHARE;
}
} else {
- if (isSharable())
- supported |= SUPPORT_SHARE | SUPPORT_PRINT | SUPPORT_SETAS;
+ supported = SUPPORT_PRINT | SUPPORT_SETAS;
+ if (isSharable()) supported |= SUPPORT_SHARE;
if (BitmapUtils.isSupportedByRegionDecoder(mContentType)) {
supported |= SUPPORT_EDIT | SUPPORT_FULL_IMAGE;
}