Loading app/src/main/java/foundation/e/drive/work/WorkRequestFactory.kt +2 −3 Original line number Diff line number Diff line Loading @@ -95,8 +95,7 @@ object WorkRequestFactory { /** * Create a OneTimeWorkRequest instance for * a Full scan with constraints on network (should * be unmetered) and battery (shouldn't be low) * a Full scan with constraints on network (CONNECTED) and battery (shouldn't be low) * @return instance of OneTimeWorkRequest */ private fun createFullScanWorkRequest(forced: Boolean): OneTimeWorkRequest { Loading Loading @@ -217,7 +216,7 @@ object WorkRequestFactory { /** * Create a PeriodicWorkRequest instance for * a Full scan with constraints on network (any) and battery (not low) * a Full scan with constraints on network (CONNECTED) and battery (not low) * @return instance of PeriodicWorkRequest */ private fun createPeriodicScanWorkRequest(): PeriodicWorkRequest { Loading Loading
app/src/main/java/foundation/e/drive/work/WorkRequestFactory.kt +2 −3 Original line number Diff line number Diff line Loading @@ -95,8 +95,7 @@ object WorkRequestFactory { /** * Create a OneTimeWorkRequest instance for * a Full scan with constraints on network (should * be unmetered) and battery (shouldn't be low) * a Full scan with constraints on network (CONNECTED) and battery (shouldn't be low) * @return instance of OneTimeWorkRequest */ private fun createFullScanWorkRequest(forced: Boolean): OneTimeWorkRequest { Loading Loading @@ -217,7 +216,7 @@ object WorkRequestFactory { /** * Create a PeriodicWorkRequest instance for * a Full scan with constraints on network (any) and battery (not low) * a Full scan with constraints on network (CONNECTED) and battery (not low) * @return instance of PeriodicWorkRequest */ private fun createPeriodicScanWorkRequest(): PeriodicWorkRequest { Loading