/** * Make JobScheduler happy. */ private void emptyCallback(IJobCallback callback, int jobId) { try { callback.acknowledgeStartMessage(jobId, false); callback.jobFinished(jobId, false); } catch (RemoteException e) { e.printStackTrace(); } }
JobSession(int jobId, IJobCallback clientCallback, JobParameters jobParams) { this.jobId = jobId; this.clientCallback = clientCallback; this.jobParams = jobParams; }