Loading app/build.gradle +0 −4 Original line number Diff line number Diff line Loading @@ -65,10 +65,6 @@ dependencies { // (Java only) implementation "androidx.work:work-runtime:$work_version" def work_version = "2.7.1" // (Java only) implementation "androidx.work:work-runtime:$work_version" androidTestImplementation 'androidx.test:runner:1.4.0' androidTestImplementation 'androidx.test:rules:1.4.0' androidTestImplementation 'androidx.annotation:annotation:1.3.0' Loading app/src/main/java/foundation/e/drive/services/InitializerService.java +2 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ import foundation.e.drive.operations.CreateInitialFolderRemoteOperation; import foundation.e.drive.receivers.ScreenOffReceiver; import foundation.e.drive.utils.AppConstants; import foundation.e.drive.utils.CommonUtils; import foundation.e.drive.work.FullScanWorker; import static com.owncloud.android.lib.resources.files.FileUtils.PATH_SEPARATOR; import static foundation.e.drive.utils.AppConstants.INITIALFOLDERS_NUMBER; Loading Loading @@ -283,6 +283,7 @@ public class InitializerService extends Service implements OnRemoteOperationList //all folder have been created Log.d(TAG, "RegisterReceiver: screenOffReceiver"); IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_ON); filter.addAction(Intent.ACTION_SCREEN_OFF); Loading Loading
app/build.gradle +0 −4 Original line number Diff line number Diff line Loading @@ -65,10 +65,6 @@ dependencies { // (Java only) implementation "androidx.work:work-runtime:$work_version" def work_version = "2.7.1" // (Java only) implementation "androidx.work:work-runtime:$work_version" androidTestImplementation 'androidx.test:runner:1.4.0' androidTestImplementation 'androidx.test:rules:1.4.0' androidTestImplementation 'androidx.annotation:annotation:1.3.0' Loading
app/src/main/java/foundation/e/drive/services/InitializerService.java +2 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ import foundation.e.drive.operations.CreateInitialFolderRemoteOperation; import foundation.e.drive.receivers.ScreenOffReceiver; import foundation.e.drive.utils.AppConstants; import foundation.e.drive.utils.CommonUtils; import foundation.e.drive.work.FullScanWorker; import static com.owncloud.android.lib.resources.files.FileUtils.PATH_SEPARATOR; import static foundation.e.drive.utils.AppConstants.INITIALFOLDERS_NUMBER; Loading Loading @@ -283,6 +283,7 @@ public class InitializerService extends Service implements OnRemoteOperationList //all folder have been created Log.d(TAG, "RegisterReceiver: screenOffReceiver"); IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_ON); filter.addAction(Intent.ACTION_SCREEN_OFF); Loading