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 .