deregister listener in editaccount
This commit is contained in:
parent
a269164458
commit
bd467b6b9d
|
@ -245,6 +245,14 @@ public class EditAccountActivity extends XmppActivity {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStop() {
|
||||
if (xmppConnectionServiceBound) {
|
||||
xmppConnectionService.removeOnAccountListChangedListener();
|
||||
}
|
||||
super.onStop();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onBackendConnected() {
|
||||
this.mKnownHostsAdapter = new KnownHostsAdapter(this,
|
||||
|
|
Loading…
Reference in a new issue