mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
Log when attachment viewer cannot be found
This commit is contained in:
parent
b551850827
commit
2e50cc5444
@ -1397,6 +1397,7 @@ public class MessageView extends K9Activity
|
||||
try {
|
||||
startActivity(intent);
|
||||
} catch (Exception e) {
|
||||
Log.e(Email.LOG_TAG, "Could not display attachment of type " + attachment.contentType, e);
|
||||
Toast toast = Toast.makeText(MessageView.this, getString(R.string.message_view_no_viewer, attachment.contentType), Toast.LENGTH_LONG);
|
||||
toast.show();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user