From 8dae4b1eb922f4b79dbf1e1158b16afb51210a53 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 26 Oct 2014 18:30:58 +0100 Subject: [PATCH] fix possible fallthrough. --- src/eu/siacs/conversations/ui/ConversationFragment.java | 1 + src/eu/siacs/conversations/ui/ManageAccountActivity.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java index 147a7a5f9..fe3f79cb9 100644 --- a/src/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/eu/siacs/conversations/ui/ConversationFragment.java @@ -399,6 +399,7 @@ public class ConversationFragment extends Fragment { return true; case R.id.download_image: downloadImage(selectedMessage); + return true; default: return super.onContextItemSelected(item); } diff --git a/src/eu/siacs/conversations/ui/ManageAccountActivity.java b/src/eu/siacs/conversations/ui/ManageAccountActivity.java index 5b5b0608f..77f8b68a6 100644 --- a/src/eu/siacs/conversations/ui/ManageAccountActivity.java +++ b/src/eu/siacs/conversations/ui/ManageAccountActivity.java @@ -123,6 +123,7 @@ public class ManageAccountActivity extends XmppActivity { return true; case R.id.mgmt_account_announce_pgp: publishOpenPGPPublicKey(selectedAccount); + return true; default: return super.onContextItemSelected(item); }