fix decorator TrackExporter interface

This commit is contained in:
thrillfall
2020-08-09 13:37:10 +02:00
committed by Dennis Guse
parent ca8814c478
commit 2655d3e773
7 changed files with 16 additions and 14 deletions
@@ -212,7 +212,7 @@ public class ShareContentProvider extends CustomContentProvider implements ICont
PipeDataWriter<String> pipeDataWriter = (output, uri1, mimeType, opts, args) -> {
try (FileOutputStream fileOutputStream = new FileOutputStream(output.getFileDescriptor())) {
trackExporter.writeTrack(getContext(), fileOutputStream);
trackExporter.writeTrack(fileOutputStream);
} catch (IOException e) {
Log.w(TAG, "there occurred an error while sharing a file: " + e);
}