diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-11 17:42:09 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-11 17:42:09 +0100 |
commit | d1bf9a3f6d63deaef28a1966e90c6ccd18275d30 (patch) | |
tree | e397734becaf9953d0236ac419509abcb1fc557d /src/main | |
parent | 76f4cf1a73ccc3d11b1c794a802b9ff038164482 (diff) |
use auto register for verify otr listeners
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/VerifyOTRActivity.java | 9 |
1 files changed, 0 insertions, 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 d33007fb..3c75b501 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() { @@ -274,14 +273,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() { @Override |