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

Commit cfd436f2 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

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


    @Override
    @Override