diff --git a/src/com/android/email/activity/MessageView.java b/src/com/android/email/activity/MessageView.java index cd5ed9ad1..3060db042 100644 --- a/src/com/android/email/activity/MessageView.java +++ b/src/com/android/email/activity/MessageView.java @@ -1282,7 +1282,15 @@ public class MessageView extends K9Activity Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(uri); intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); - startActivity(intent); + try + { + startActivity(intent); + } + catch (Exception e) + { + Toast toast = Toast.makeText(MessageView.this, e.getMessage(), Toast.LENGTH_LONG); + toast.show(); + } } }