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

Commit be49d8c1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Gallery2 : Delete and Details options are not visible on Camera preview"

parents 1588d7f5 b6d1df6f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -266,8 +266,8 @@ public class LocalImage extends LocalMediaItem {
                operation |= SUPPORT_SHARE;
            }
        } else {
            operation = SUPPORT_SHARE | SUPPORT_CROP | SUPPORT_PRINT | SUPPORT_SETAS;

            operation = SUPPORT_DELETE | SUPPORT_SHARE | SUPPORT_CROP
                | SUPPORT_SETAS | SUPPORT_PRINT | SUPPORT_INFO;
            if (BitmapUtils.isSupportedByRegionDecoder(mimeType)) {
                operation |= SUPPORT_FULL_IMAGE | SUPPORT_EDIT;
            }
+2 −2
Original line number Diff line number Diff line
@@ -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;
            }