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

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

Merge "Gallery2 : Video share option is not working"

parents be49d8c1 62ea8820
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -190,15 +190,17 @@ public class LocalVideo extends LocalMediaItem {

    @Override
    public int getSupportedOperations() {
        int operation = SUPPORT_DELETE | SUPPORT_PLAY | SUPPORT_INFO | SUPPORT_TRIM | SUPPORT_MUTE;
        if (DrmHelper.isDrmFile(getFilePath())) {
            operation |= SUPPORT_DRM_INFO;
            int operation = SUPPORT_DELETE | SUPPORT_PLAY | SUPPORT_INFO
                    | SUPPORT_DRM_INFO;
            if (DrmHelper.isShareableDrmFile(getFilePath())) {
                operation |= SUPPORT_SHARE;
            }
            return operation;
        }

        return operation;
        return SUPPORT_DELETE | SUPPORT_SHARE | SUPPORT_PLAY | SUPPORT_INFO
                | SUPPORT_TRIM | SUPPORT_MUTE;
    }

    @Override