mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 22:55:46 +03:00
Fix log messages
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
This commit is contained in:
parent
98586faa77
commit
aae144331c
1 changed files with 3 additions and 3 deletions
|
@ -102,12 +102,12 @@ class FilesSyncWork(
|
|||
// or sync worker already running and no changed files to be processed
|
||||
val alreadyRunning = backgroundJobManager.bothFilesSyncJobsRunning()
|
||||
if (alreadyRunning && changedFiles.isNullOrEmpty()) {
|
||||
Log_OC.d(TAG, "FILESYNC Kill Sync Worker since another instance of the worker seems to be running already!")
|
||||
Log_OC.d(TAG, "File-sync kill worker since another instance of the worker seems to be running already!")
|
||||
canExitEarly = true
|
||||
}
|
||||
|
||||
if (!syncedFolderProvider.syncedFolders.any { it.isEnabled }) {
|
||||
Log_OC.d(TAG, "FILESYNC Kill Sync Worker since no sync folder is enabled!")
|
||||
Log_OC.d(TAG, "File-sync kill worker since no sync folder is enabled!")
|
||||
canExitEarly = true
|
||||
}
|
||||
|
||||
|
@ -115,7 +115,7 @@ class FilesSyncWork(
|
|||
!powerManagementService.battery.isCharging &&
|
||||
!powerManagementService.battery.isFull
|
||||
) {
|
||||
Log_OC.d(TAG, "FILESYNC Kill Sync Worker since no sync folder is enabled!")
|
||||
Log_OC.d(TAG, "File-sync kill worker since phone is not charging!")
|
||||
canExitEarly = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue