void function ( MXSession arg0 ) { mLoginStorage . addCredentials ( arg0 . getHomeserverConfig ( ) ) ; synchronized ( instance ) { mMXSessions . add ( arg0 ) ; } }
set a default session . concode_field_sep ArrayList<MXSession> mMXSessions concode_elem_sep Context mAppContext concode_elem_sep LoginStorage mLoginStorage concode_elem_sep Matrix instance concode_elem_sep String LOG_TAG concode_elem_sep GcmRegistrationManager mGcmRegistrationManager concode_elem_sep boolean mHasBeenDisconnected concode_field_sep MXMediasCache getMediasCache concode_elem_sep ArrayList<MXSession> getSessions concode_elem_sep MXLatestChatMessageCache getDefaultLatestChatMessageCache concode_elem_sep void clearSession concode_elem_sep void reloadSessions concode_elem_sep MXSession createSession concode_elem_sep MXSession createSession concode_elem_sep void refreshPushRules concode_elem_sep MXSession getMXSession concode_elem_sep Boolean hasValidSessions concode_elem_sep void clearSessions concode_elem_sep MXSession getDefaultSession concode_elem_sep ArrayList<MXSession> getMXSessions concode_elem_sep void setSessionErrorListener concode_elem_sep Matrix getInstance concode_elem_sep void removeSessionErrorListener concode_elem_sep MXSession getSession concode_elem_sep GcmRegistrationManager getSharedGcmRegistrationManager concode_elem_sep LoginStorage getLoginStorage