Move BlobProvider storage out of cache and into internal storage.

This commit is contained in:
Greyson Parrelli
2021-02-11 13:26:12 -05:00
committed by GitHub
parent 37d971859b
commit 80f3504098
5 changed files with 103 additions and 15 deletions

View File

@@ -104,7 +104,8 @@ class ShareRepository {
.forData(stream, size)
.withMimeType(mimeType)
.withFileName(fileName)
.createForMultipleSessionsOnDisk(context);
.createForSingleSessionOnDisk(context);
// TODO Convert to multi-session after file drafts are fixed.
}
return ShareData.forIntentData(blobUri, mimeType, true, isMmsSupported(context, mimeType, size));