void waitForLoader ( final long time ) { try { done . await ( time , TimeUnit . MILLISECONDS ) ; } catch ( final InterruptedException e ) { Log . e ( TAG , "waitForLoader() ininterrupted" , e ) ; } }
For testing only .