private void pauseAutoCycle(){
  if (mCycling) {
    mCycleTimer.cancel();
    mCycleTask.cancel();
    mCycling=false;
  }
 else {
    if (mResumingTimer != null && mResumingTask != null) {
      recoverCycle();
    }
  }
}

private void pauseAutoCycle ( ) { if ( mCycling ) { mCycleTimer . cancel ( ) ; mCycleTask . cancel ( ) ; mCycling = false ; } else { if ( mResumingTimer != null && mResumingTask != null ) { recoverCycle ( ) ; } } }
runtime call pause auto cycle .
