code: public boolean cancel(int jobId) {
          // call both methods
          boolean result = cancelInner(getJobRequest(jobId, true)) | cancelInner(getJob(jobId));
          JobProxy.Common.cleanUpOrphanedJob(mContext, jobId); // do this as well, just in case
          return result;
      }
docs: 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.