Rename BinaryStreamManager to BinaryDatabaseManager

This commit is contained in:
J-Jamet
2021-03-13 13:46:32 +01:00
parent 1b8c453fd0
commit 7c0b925c96
5 changed files with 11 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ import com.kunzisoft.keepass.database.element.Attachment
import com.kunzisoft.keepass.model.AttachmentState
import com.kunzisoft.keepass.model.EntryAttachmentState
import com.kunzisoft.keepass.model.StreamDirection
import com.kunzisoft.keepass.tasks.BinaryStreamManager
import com.kunzisoft.keepass.tasks.BinaryDatabaseManager
import kotlinx.coroutines.*
import java.util.*
import java.util.concurrent.CopyOnWriteArrayList
@@ -344,7 +344,7 @@ class AttachmentFileNotificationService: LockNotificationService() {
when (streamDirection) {
StreamDirection.UPLOAD -> {
BinaryStreamManager.uploadToDatabase(
BinaryDatabaseManager.uploadToDatabase(
attachmentNotification.uri,
attachment.binaryFile,
contentResolver,
@@ -357,7 +357,7 @@ class AttachmentFileNotificationService: LockNotificationService() {
)
}
StreamDirection.DOWNLOAD -> {
BinaryStreamManager.downloadFromDatabase(
BinaryDatabaseManager.downloadFromDatabase(
attachmentNotification.uri,
attachment.binaryFile,
contentResolver,