public void onSaveInstanceState(Bundle outState){
  Session.saveSession(Session.getActiveSession(),outState);
  if (pendingFacebookDialogCallId != null) {
    outState.putString(DIALOG_CALL_ID_SAVE_KEY,pendingFacebookDialogCallId.toString());
  }
  pendingFacebookDialogCallStore.saveInstanceState(outState);
}

public void onSaveInstanceState ( Bundle outState ) { Session . saveSession ( Session . getActiveSession ( ) , outState ) ; if ( pendingFacebookDialogCallId != null ) { outState . putString ( DIALOG_CALL_ID_SAVE_KEY , pendingFacebookDialogCallId . toString ( ) ) ; } pendingFacebookDialogCallStore . saveInstanceState ( outState ) ; }
to be called from an activity or fragment ' s onsaveinstancestate method .
