public boolean waitForActivity ( Class < ? extends Activity > activityClass ) { if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "waitForActivity(" + activityClass + ")" ) ; } return waiter . waitForActivity ( activityClass , Timeout . getLargeTimeout ( ) ) ; }
Waits for an Activity matching the specified class . Default timeout is 20 seconds .