Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e2b1c1b authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

chore: fix: wrong doc in WorkRequestFactory

parent ad6caf70
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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 {
@@ -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 {