reset incoming chat state when going into background

This commit is contained in:
iNPUTmice 2015-02-23 21:47:35 +01:00
parent 37e9db3299
commit 8319446c03
1 changed files with 3 additions and 0 deletions

View File

@ -1341,6 +1341,9 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
}
}
}
for(Conversation conversation : getConversations()) {
conversation.setIncomingChatState(ChatState.ACTIVE);
}
this.mNotificationService.setIsInForeground(false);
Log.d(Config.LOGTAG, "app switched into background");
}