Browse Source

Rename a method

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 7 years ago
parent
commit
0ddc264e0b

+ 2 - 2
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();

+ 1 - 1
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());