Rename a method

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-03-12 10:25:19 +01:00 committed by AndyScherzinger
parent 26c8966eb3
commit 0ddc264e0b
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 3 additions and 3 deletions

View file

@ -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();

View file

@ -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());