Loading data/src/main/java/com/moez/QKSMS/repository/BackupRepositoryImpl.kt +1 −1 Original line number Diff line number Diff line Loading @@ -89,7 +89,7 @@ class BackupRepositoryImpl @Inject constructor( @Volatile private var stopFlag: Boolean = false override fun getDefaultBackupPath(): String { return "${Environment.getExternalStorageDirectory()}/QKSMS/Backups" return "${Environment.getExternalStorageDirectory()}/Message/Backups" } override fun getBackupDocumentTree(): DocumentFile? { Loading data/src/main/java/com/moez/QKSMS/repository/MessageRepositoryImpl.kt +3 −3 Original line number Diff line number Diff line Loading @@ -197,9 +197,9 @@ class MessageRepositoryImpl @Inject constructor( if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) { values.put(MediaStore.MediaColumns.IS_PENDING, 1) values.put(MediaStore.MediaColumns.RELATIVE_PATH, when { part.isImage() -> "${Environment.DIRECTORY_PICTURES}/QKSMS" part.isVideo() -> "${Environment.DIRECTORY_MOVIES}/QKSMS" else -> "${Environment.DIRECTORY_DOWNLOADS}/QKSMS" part.isImage() -> "${Environment.DIRECTORY_PICTURES}/Message" part.isVideo() -> "${Environment.DIRECTORY_MOVIES}/Message" else -> "${Environment.DIRECTORY_DOWNLOADS}/Message" }) } Loading Loading
data/src/main/java/com/moez/QKSMS/repository/BackupRepositoryImpl.kt +1 −1 Original line number Diff line number Diff line Loading @@ -89,7 +89,7 @@ class BackupRepositoryImpl @Inject constructor( @Volatile private var stopFlag: Boolean = false override fun getDefaultBackupPath(): String { return "${Environment.getExternalStorageDirectory()}/QKSMS/Backups" return "${Environment.getExternalStorageDirectory()}/Message/Backups" } override fun getBackupDocumentTree(): DocumentFile? { Loading
data/src/main/java/com/moez/QKSMS/repository/MessageRepositoryImpl.kt +3 −3 Original line number Diff line number Diff line Loading @@ -197,9 +197,9 @@ class MessageRepositoryImpl @Inject constructor( if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) { values.put(MediaStore.MediaColumns.IS_PENDING, 1) values.put(MediaStore.MediaColumns.RELATIVE_PATH, when { part.isImage() -> "${Environment.DIRECTORY_PICTURES}/QKSMS" part.isVideo() -> "${Environment.DIRECTORY_MOVIES}/QKSMS" else -> "${Environment.DIRECTORY_DOWNLOADS}/QKSMS" part.isImage() -> "${Environment.DIRECTORY_PICTURES}/Message" part.isVideo() -> "${Environment.DIRECTORY_MOVIES}/Message" else -> "${Environment.DIRECTORY_DOWNLOADS}/Message" }) } Loading