aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-10-26 20:14:09 +0100
committerDaniel Gultsch <daniel@gultsch.de>2014-10-26 20:14:09 +0100
commitcb21eac5013b262189e2d39517666e25e2886fe0 (patch)
tree8c916e79d3e233e0df187476567bb28d1cfbeb2f /src
parent284ad1b053786a83c6b05276bb72febfd292de58 (diff)
parent8dae4b1eb922f4b79dbf1e1158b16afb51210a53 (diff)
Merge pull request #587 from betheg/fix_possible_fallthrough
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);
}