@Override public synchronized void enqueueTask(ProcessingTask task){
  mQueue.add(task);
  Log.d(TAG,"Task added. Queue size now: " + mQueue.size());
  if (!mServiceRunning && !mHoldProcessing) {
    startService();
  }
}

@ Override public synchronized void enqueueTask ( ProcessingTask task ) { mQueue . add ( task ) ; Log . d ( TAG , "Task added. Queue size now: " + mQueue . size ( ) ) ; if ( ! mServiceRunning && ! mHoldProcessing ) { startService ( ) ; } }
enqueues a new task . if the service is not already running , it will be started .
