Skip to content

Commit

Permalink
fix: Update code to latest Android Worker changes making array String…
Browse files Browse the repository at this point in the history
… elements nullable

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
  • Loading branch information
AndyScherzinger authored and tobiasKaminsky committed Dec 16, 2024
1 parent c8ebb26 commit 30ba7dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ interface BackgroundJobManager {
fun startImmediateFilesSyncJob(
syncedFolderID: Long,
overridePowerSaving: Boolean = false,
changedFiles: Array<String> = arrayOf<String>()
changedFiles: Array<String?> = arrayOf<String?>()
)

fun cancelTwoWaySyncJob()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ internal class BackgroundJobManagerImpl(
override fun startImmediateFilesSyncJob(
syncedFolderID: Long,
overridePowerSaving: Boolean,
changedFiles: Array<String>
changedFiles: Array<String?>
) {
val arguments = Data.Builder()
.putBoolean(FilesSyncWork.OVERRIDE_POWER_SAVING, overridePowerSaving)
Expand Down

0 comments on commit 30ba7dd

Please sign in to comment.