From 5a27da848b0d9983b8799622483fa1d6b10461eb Mon Sep 17 00:00:00 2001 From: cijo-saju Date: Sat, 8 Apr 2017 10:45:14 +0530 Subject: [PATCH] Clean up --- src/main/java/eu/siacs/conversations/ui/OmemoActivity.java | 2 +- .../eu/siacs/conversations/ui/SetPresenceActivity.java | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/OmemoActivity.java b/src/main/java/eu/siacs/conversations/ui/OmemoActivity.java index d139fdd8..fcf9b3de 100644 --- a/src/main/java/eu/siacs/conversations/ui/OmemoActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/OmemoActivity.java @@ -42,7 +42,7 @@ public abstract class OmemoActivity extends XmppActivity { super.onCreateContextMenu(menu,v,menuInfo); Object account = v.getTag(R.id.TAG_ACCOUNT); Object fingerprint = v.getTag(R.id.TAG_FINGERPRINT); - Object fingerprintStatus = v.getTag(R.id.TAG_FINGERPRINT_STATUS);; + Object fingerprintStatus = v.getTag(R.id.TAG_FINGERPRINT_STATUS); if (account != null && fingerprint != null && account instanceof Account diff --git a/src/main/java/eu/siacs/conversations/ui/SetPresenceActivity.java b/src/main/java/eu/siacs/conversations/ui/SetPresenceActivity.java index 0962d209..ca1fb8f7 100644 --- a/src/main/java/eu/siacs/conversations/ui/SetPresenceActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/SetPresenceActivity.java @@ -18,15 +18,8 @@ import android.widget.ScrollView; import android.widget.Spinner; import android.widget.TextView; -import android.util.Log; - -import org.openintents.openpgp.util.OpenPgpApi; - import java.util.List; -import java.util.concurrent.RunnableFuture; -import java.util.concurrent.atomic.AtomicBoolean; -import eu.siacs.conversations.Config; import eu.siacs.conversations.R; import eu.siacs.conversations.entities.Account; import eu.siacs.conversations.entities.ListItem;