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

Commit c1f58695 authored by Kevin Chyn's avatar Kevin Chyn Committed by Automerger Merge Worker
Browse files

Merge "Revert "Check Read permissions when getDocumentMetadata"" into pi-dev am: 3d599fd9

Change-Id: I18eb6c4cd9c42f3cc1d1051b47aafeeffb6b0c16
parents ada451e4 3d599fd9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1260,8 +1260,6 @@ public abstract class DocumentsProvider extends ContentProvider {

            out.putParcelable(DocumentsContract.EXTRA_RESULT, path);
        } else if (METHOD_GET_DOCUMENT_METADATA.equals(method)) {
            enforceReadPermissionInner(documentUri, getCallingPackage(),
                    getCallingAttributionTag(), null);
            return getDocumentMetadata(documentId);
        } else {
            throw new UnsupportedOperationException("Method not supported " + method);