library/src/main/java/com/evernote/android/job/JobManager.java
/**
     * Cancel either the pending {@link JobRequest} or the running {@link Job}.
     *
     * @param jobId The unique ID of the {@link JobRequest} or running {@link Job}.
     * @return {@code true} if a request or job were found and canceled.
     */
Cancel either the pending  JobRequest or the running  Job.
@param jobId The unique ID of the  JobRequest or running  Job.
@return  true if a request or job were found and canceled.
Cancel either the pending JobRequest or the running Job . @param jobId The unique ID of the JobRequest or running Job . @return true if a request or job were found and canceled .
public boolean cancel(int jobId) {
        boolean result = cancelInner(getJobRequest(jobId, true)) | cancelInner(getJob(jobId));
        JobProxy.Common.cleanUpOrphanedJob(mContext, jobId); 
        return result;
    }
public boolean cancel ( int jobId ) { boolean result = cancelInner ( getJobRequest ( jobId , true ) ) | cancelInner ( getJob ( jobId ) ) ; JobProxy . Common . cleanUpOrphanedJob ( mContext , jobId ) ; return result ; }
Cancel either the pending {@link JobRequest} or the running {@link Job}.
Cancel either the pending { @link JobRequest } or the running { @link Job } .
// call both methods // do this as well, just in case