From d1bf9a3f6d63deaef28a1966e90c6ccd18275d30 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Tue, 11 Nov 2014 17:42:09 +0100 Subject: [PATCH] use auto register for verify otr listeners --- .../eu/siacs/conversations/ui/VerifyOTRActivity.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/VerifyOTRActivity.java b/src/main/java/eu/siacs/conversations/ui/VerifyOTRActivity.java index d33007fbd..3c75b501d 100644 --- a/src/main/java/eu/siacs/conversations/ui/VerifyOTRActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/VerifyOTRActivity.java @@ -164,7 +164,6 @@ public class VerifyOTRActivity extends XmppActivity implements XmppConnectionSer if (handleIntent(getIntent())) { updateView(); } - this.xmppConnectionService.setOnConversationListChangedListener(this); } protected void updateView() { @@ -273,14 +272,6 @@ public class VerifyOTRActivity extends XmppActivity implements XmppConnectionSer } } - @Override - protected void onStop() { - if (xmppConnectionServiceBound) { - xmppConnectionService.removeOnConversationListChangedListener(); - } - super.onStop(); - } - @Override public void onConversationUpdate() { runOnUiThread(new Runnable() {