mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Rename a method
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
26c8966eb3
commit
0ddc264e0b
2 changed files with 3 additions and 3 deletions
|
@ -159,7 +159,7 @@ public class MainApp extends MultiDexApplication {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
initAutoUpload();
|
initSyncOperations();
|
||||||
initContactsBackup();
|
initContactsBackup();
|
||||||
notificationChannels();
|
notificationChannels();
|
||||||
|
|
||||||
|
@ -274,7 +274,7 @@ public class MainApp extends MultiDexApplication {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initAutoUpload() {
|
public static void initSyncOperations() {
|
||||||
updateToAutoUpload();
|
updateToAutoUpload();
|
||||||
cleanOldEntries();
|
cleanOldEntries();
|
||||||
updateAutoUploadEntries();
|
updateAutoUploadEntries();
|
||||||
|
|
|
@ -46,7 +46,7 @@ public class BootupBroadcastReceiver extends BroadcastReceiver {
|
||||||
@Override
|
@Override
|
||||||
public void onReceive(Context context, Intent intent) {
|
public void onReceive(Context context, Intent intent) {
|
||||||
if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) {
|
if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) {
|
||||||
MainApp.initAutoUpload();
|
MainApp.initSyncOperations();
|
||||||
MainApp.initContactsBackup();
|
MainApp.initContactsBackup();
|
||||||
} else {
|
} else {
|
||||||
Log_OC.d(TAG, "Getting wrong intent: " + intent.getAction());
|
Log_OC.d(TAG, "Getting wrong intent: " + intent.getAction());
|
||||||
|
|
Loading…
Reference in a new issue