From aae144331ca46b93fbf920e9e1739897d62155b2 Mon Sep 17 00:00:00 2001 From: Jonas Mayer Date: Thu, 2 May 2024 16:18:50 +0200 Subject: [PATCH] Fix log messages Signed-off-by: Jonas Mayer --- .../main/java/com/nextcloud/client/jobs/FilesSyncWork.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/nextcloud/client/jobs/FilesSyncWork.kt b/app/src/main/java/com/nextcloud/client/jobs/FilesSyncWork.kt index bbe0f0d6d6ef..52a2ac224593 100644 --- a/app/src/main/java/com/nextcloud/client/jobs/FilesSyncWork.kt +++ b/app/src/main/java/com/nextcloud/client/jobs/FilesSyncWork.kt @@ -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 }