public void removeOperation(Operation operation){
  if (isRunning) {
    if (operationHandlerThreadHandler == null)     return;
    operationHandlerThreadHandler.removeCallbacks(new AndroidOperation(this,operation));
  }
 else {
    operationQueue.remove(new AndroidOperation(this,operation));
  }
}

public void removeOperation ( Operation operation ) { if ( isRunning ) { if ( operationHandlerThreadHandler == null ) return ; operationHandlerThreadHandler . removeCallbacks ( new AndroidOperation ( this , operation ) ) ; } else { operationQueue . remove ( new AndroidOperation ( this , operation ) ) ; } }
remove any pending operations that are in operationqueue
