public void onSaveInstanceState ( Bundle outState ) { Session . saveSession ( Session . getActiveSession ( ) , outState ) ; outState . putParcelable ( DIALOG_CALL_BUNDLE_SAVE_KEY , pendingFacebookDialogCall ) ; }
To be called from an Activity or Fragment s onSaveInstanceState method .