added count down latch to await account connect before going into publish profile activity
This commit is contained in:
parent
0a3d6bc6d0
commit
0028bd6e8e
1 changed files with 3 additions and 0 deletions
|
@ -338,6 +338,9 @@ public class XmppConnectionService extends Service {
|
|||
public void onStatusChanged(final Account account) {
|
||||
XmppConnection connection = account.getXmppConnection();
|
||||
updateAccountUi();
|
||||
if (account.getStatus() == Account.State.ONLINE || account.getStatus().isError()) {
|
||||
mQuickConversationsService.signalAccountStateChange();
|
||||
}
|
||||
if (account.getStatus() == Account.State.ONLINE) {
|
||||
synchronized (mLowPingTimeoutMode) {
|
||||
if (mLowPingTimeoutMode.remove(account.getJid().asBareJid())) {
|
||||
|
|
Reference in a new issue