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

Commit aab5d4ce authored by Steve McKay's avatar Steve McKay
Browse files

Remove tags arg from getDocumentMetadata.

It was an impedence mismatch for the multi-type return vaule.
Test: manual

Change-Id: Ie12e3fcb4d487101ffe7f6a4a5f99b37c2f9e72b
parent 300143d9
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -46,10 +46,7 @@ final class MetadataLoader extends AsyncTaskLoader<Bundle> {
    @Override
    public Bundle loadInBackground() {
        try {
            return DocumentsContract.getDocumentMetadata(
                    mContext.getContentResolver(),
                    mUri,
                    null);
            return DocumentsContract.getDocumentMetadata(mContext.getContentResolver(), mUri);
        } catch (FileNotFoundException e) {
            Log.e(TAG, "Failed to load metadata for doc: " + mUri, e);
        }