From 0ddc264e0b35a26029f3e2b2c7ce4854fba705a1 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Mon, 12 Mar 2018 10:25:19 +0100 Subject: [PATCH] Rename a method Signed-off-by: Mario Danic --- src/main/java/com/owncloud/android/MainApp.java | 4 ++-- .../com/owncloud/android/files/BootupBroadcastReceiver.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/owncloud/android/MainApp.java b/src/main/java/com/owncloud/android/MainApp.java index c59db2cfaf..0e7cf669ec 100644 --- a/src/main/java/com/owncloud/android/MainApp.java +++ b/src/main/java/com/owncloud/android/MainApp.java @@ -159,7 +159,7 @@ public class MainApp extends MultiDexApplication { } } - initAutoUpload(); + initSyncOperations(); initContactsBackup(); notificationChannels(); @@ -274,7 +274,7 @@ public class MainApp extends MultiDexApplication { } } - public static void initAutoUpload() { + public static void initSyncOperations() { updateToAutoUpload(); cleanOldEntries(); updateAutoUploadEntries(); diff --git a/src/main/java/com/owncloud/android/files/BootupBroadcastReceiver.java b/src/main/java/com/owncloud/android/files/BootupBroadcastReceiver.java index b82100d5d9..876760d825 100644 --- a/src/main/java/com/owncloud/android/files/BootupBroadcastReceiver.java +++ b/src/main/java/com/owncloud/android/files/BootupBroadcastReceiver.java @@ -46,7 +46,7 @@ public class BootupBroadcastReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) { - MainApp.initAutoUpload(); + MainApp.initSyncOperations(); MainApp.initContactsBackup(); } else { Log_OC.d(TAG, "Getting wrong intent: " + intent.getAction());