public boolean remove(JobStatus jobStatus) {
        boolean removed = mJobSet.remove(jobStatus);
        if (!removed) {
            return false;
        }
        if (!jobStatus.isPersisted()) {
            unmarkForBootSession(jobStatus);
        }
        maybeWriteStatusToDiskAsync();
        return removed;
    }
public boolean remove(JobStatus jobStatus) {
        boolean removed = mJobSet.remove(jobStatus);
        if (!removed) {
            return false;
        }
        if (!jobStatus.isPersisted()) {
            unmarkForBootSession(jobStatus);
        }
        maybeWriteStatusToDiskAsync();
        return removed;
    }
public boolean remove ( JobStatus jobStatus ) { boolean removed = mJobSet . remove ( jobStatus ) ; if ( ! removed ) { return false ; } if ( ! jobStatus . isPersisted ( ) ) { unmarkForBootSession ( jobStatus ) ; } maybeWriteStatusToDiskAsync ( ) ; return removed ; }
Remove the provided job. Will also delete the job if it was persisted.

@return Whether or not the job existed to be removed.
Remove the provided job . Will also delete the job if it was persisted .