mirror of
https://github.com/nextcloud/android.git
synced 2024-12-18 06:51:55 +03:00
fix: Update code to latest Android Worker changes making array String elements nullable
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
dcdac2ca6f
commit
e1062d95e4
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue