code: public boolean waitForActivity(Class<? extends Activity> activityClass){
  		if(config.commandLogging){
  			Log.d(config.commandLoggingTag, "waitForActivity("+activityClass+")");
  		}
  		
  		return waiter.waitForActivity(activityClass, Timeout.getLargeTimeout());
  	}
docs: Waits for an Activity matching the specified class. Default timeout is 20 seconds.
  
  @param activityClass the class of the {@code Activity} to wait for. Example is: {@code MyActivity.class}
  @return {@code true} if {@code Activity} appears before the timeout and {@code false} if it does not