mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Merge pull request #1172 from deltachat/fix-cannot-handle-media-msg
better message if a media-type cannot be handled
This commit is contained in:
@@ -193,8 +193,7 @@ public class ApplicationDcContext extends DcContext {
|
||||
context.startActivity(Intent.createChooser(intent, context.getString(R.string.chat_share_with_title)));
|
||||
}
|
||||
} catch (RuntimeException e) {
|
||||
Toast.makeText(context, R.string.no_app_to_handle_data, Toast.LENGTH_LONG).show();
|
||||
Toast.makeText(context, "Media-Type: " + mimeType, Toast.LENGTH_LONG).show();
|
||||
Toast.makeText(context, String.format("%s (%s)", context.getString(R.string.no_app_to_handle_data), mimeType), Toast.LENGTH_LONG).show();
|
||||
Log.i(TAG, "opening of external activity failed.", e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user