@Override protected void onDeleteComplete(int token,Object cookie,int result){
  if (token == mDeleteToken) {
synchronized (sDeletingThreadsLock) {
      sDeletingThreads=false;
      if (DELETEDEBUG) {
        Log.v(TAG,"Conversation onDeleteComplete sDeletingThreads: " + sDeletingThreads);
      }
      sDeletingThreadsLock.notifyAll();
    }
    UnreadBadgeService.update(mContext);
    NotificationManager.create(mContext);
  }
}

@ Override protected void onDeleteComplete ( int token , Object cookie , int result ) { if ( token == mDeleteToken ) { synchronized ( sDeletingThreadsLock ) { sDeletingThreads = false ; if ( DELETEDEBUG ) { Log . v ( TAG , "Conversation onDeleteComplete sDeletingThreads: " + sDeletingThreads ) ; } sDeletingThreadsLock . notifyAll ( ) ; } UnreadBadgeService . update ( mContext ) ; NotificationManager . create ( mContext ) ; } }
always call this super method from your overridden ondeletecomplete function .
