mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Rename BinaryStreamManager to BinaryDatabaseManager
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user