Refactored TrackFileFormat interface.

This commit is contained in:
Dennis Guse
2023-04-12 22:41:56 +02:00
parent 7d58014b15
commit 819f454bd8
7 changed files with 27 additions and 24 deletions
@@ -214,7 +214,7 @@ public class ShareContentProvider extends CustomContentProvider {
}
}
final TrackExporter trackExporter = getTrackFileFormat(uri).createTrackExporter(getContext());
final TrackExporter trackExporter = getTrackFileFormat(uri).createTrackExporter(getContext(), new ContentProviderUtils(getContext()));
PipeDataWriter<String> pipeDataWriter = (output, uri1, mimeType, opts, args) -> {
try (FileOutputStream fileOutputStream = new FileOutputStream(output.getFileDescriptor())) {