protected void waitFor(final int millis){
synchronized (mLock) {
    try {
      sendLogBroadcast(DfuBaseService.LOG_LEVEL_DEBUG,"wait(" + millis + ")");
      mLock.wait(millis);
    }
 catch (    final InterruptedException e) {
      loge("Sleeping interrupted",e);
    }
  }
}

protected void waitFor ( final int millis ) { synchronized ( mLock ) { try { sendLogBroadcast ( DfuBaseService . LOG_LEVEL_DEBUG , "wait(" + millis + ")" ) ; mLock . wait ( millis ) ; } catch ( final InterruptedException e ) { loge ( "Sleeping interrupted" , e ) ; } } }
wait for given number of milliseconds .
