aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael <betheg@bitcloner.org>2014-10-26 18:30:58 +0100
committerMichael <betheg@bitcloner.org>2014-10-26 18:30:58 +0100
commit8dae4b1eb922f4b79dbf1e1158b16afb51210a53 (patch)
tree8c916e79d3e233e0df187476567bb28d1cfbeb2f /src
parent284ad1b053786a83c6b05276bb72febfd292de58 (diff)
fix possible fallthrough.
Diffstat (limited to 'src')
-rw-r--r--src/eu/siacs/conversations/ui/ConversationFragment.java1
-rw-r--r--src/eu/siacs/conversations/ui/ManageAccountActivity.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java
index 147a7a5f..fe3f79cb 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 5b5b0608..77f8b68a 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);
}