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

Commit b79ca294 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Grant Permanent Write Uri Permission" into main am: 9064d728 am: cfd436f2 am: 517e1f9c

parents f0fab143 517e1f9c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -81,6 +81,12 @@ public class ExportProcessor extends ProcessorBase {
        mExportRequest = exportRequest;
        mJobId = jobId;
        mCallingActivity = callingActivity;
        try {
            mResolver.takePersistableUriPermission(exportRequest.destUri,
                    Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
        } catch (SecurityException e) {
            Log.w(LOG_TAG, "SecurityException error", e);
        }
    }

    @Override