fix possible fallthrough.

This commit is contained in:
Michael 2014-10-26 18:30:58 +01:00
parent 284ad1b053
commit 8dae4b1eb9
2 changed files with 2 additions and 0 deletions

View File

@ -399,6 +399,7 @@ public class ConversationFragment extends Fragment {
return true; return true;
case R.id.download_image: case R.id.download_image:
downloadImage(selectedMessage); downloadImage(selectedMessage);
return true;
default: default:
return super.onContextItemSelected(item); return super.onContextItemSelected(item);
} }

View File

@ -123,6 +123,7 @@ public class ManageAccountActivity extends XmppActivity {
return true; return true;
case R.id.mgmt_account_announce_pgp: case R.id.mgmt_account_announce_pgp:
publishOpenPGPPublicKey(selectedAccount); publishOpenPGPPublicKey(selectedAccount);
return true;
default: default:
return super.onContextItemSelected(item); return super.onContextItemSelected(item);
} }