Beispiel #1
0
 // called at the end of a state transition
 private synchronized void updateConnectionState(ConnectionState new_state) {
   if (new_state == ConnectionState.ONLINE || new_state == ConnectionState.CONNECTING)
     mLastError = null;
   Log.d(TAG, "updateConnectionState: " + mState + " -> " + new_state + " (" + mLastError + ")");
   if (new_state == mState) return;
   mState = new_state;
   if (mServiceCallBack != null) mServiceCallBack.connectionStateChanged();
 }
Beispiel #2
0
  public void removeRosterItem(String user) throws YaximXMPPException {
    debugLog("removeRosterItem(" + user + ")");

    tryToRemoveRosterEntry(user);
    mServiceCallBack.rosterChanged();
  }