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

Commit 205ec381 authored by Christopher Tate's avatar Christopher Tate Committed by android-build-merger
Browse files

Merge "Fix job duplication bug" into nyc-dev

am: 24fb1f68

* commit '24fb1f68':
  Fix job duplication bug
parents ea02d921 24fb1f68
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -311,11 +311,11 @@ public final class JobSchedulerService extends com.android.server.SystemService
            }

            toCancel = mJobs.getJobByUidAndJobId(uId, job.getId());
        }
        startTrackingJob(jobStatus, toCancel);
            if (toCancel != null) {
                cancelJobImpl(toCancel);
            }
            startTrackingJob(jobStatus, toCancel);
        }
        mHandler.obtainMessage(MSG_CHECK_JOB).sendToTarget();
        return JobScheduler.RESULT_SUCCESS;
    }