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

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

Merge "Gallery2 : Drm file can be set as wallpaper"

parents c3b72e80 e45ba22d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -257,6 +257,10 @@ public class LocalImage extends LocalMediaItem {
    public int getSupportedOperations() {
        int operation = SUPPORT_DELETE | SUPPORT_INFO;
        if (DrmHelper.isDrmFile(getFilePath())) {
            if (DrmHelper.isDrmFLBlocking(mApplication.getAndroidContext(),
                    getFilePath())) {
                operation |= SUPPORT_SETAS;
            }
            operation |= SUPPORT_DRM_INFO | SUPPORT_FULL_IMAGE;
            if (DrmHelper.isShareableDrmFile(getFilePath())) {
                operation |= SUPPORT_SHARE;