code: public static void onRestoreInstanceState(Object context, Bundle savedInstanceState) {
  		
  		if(ProfileService.getInstance(context).isActive(context, Profile.STATE) && savedInstanceState != null) {
  			
  			long millis = System.currentTimeMillis();
  		
  			StateService.newInstance(ContextUtils.discover(context)).restore(context, savedInstanceState);
  			
  			millis = System.currentTimeMillis() - millis;
  				
  			Log.i("INSTRUMENTATION:IckleStateProfile#onRestoreInstanceState", 
  				  StateUtils.class.getClass().getSimpleName() + ": " + millis + "ms");
  		}
  	}
docs: <p><b>Restores</b> instance variables annotated with {@code @Stateful}.</p>