diff --git a/app/src/main/java/com/owncloud/android/MainApp.java b/app/src/main/java/com/owncloud/android/MainApp.java index 6ccbf872a9..0529ba9ef9 100644 --- a/app/src/main/java/com/owncloud/android/MainApp.java +++ b/app/src/main/java/com/owncloud/android/MainApp.java @@ -565,7 +565,7 @@ public class MainApp extends Application implements HasAndroidInjector { preferences.setAutoUploadInit(true); } - FilesSyncHelper.scheduleFilesSyncIfNeeded(mContext, backgroundJobManager); + FilesSyncHelper.scheduleFilesSyncIfNeeded(getAppContext(), backgroundJobManager); FilesSyncHelper.restartJobsIfNeeded( uploadsStorageManager, accountManager, diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index ef5a88426f..114ea78cac 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -5151,16 +5151,14 @@ - - - - - - - - + + + + + + + + @@ -5169,16 +5167,14 @@ - - - - - - - - + + + + + + + +