Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcf6e9e9 authored by Vincent Breitmoser's avatar Vincent Breitmoser
Browse files

move text/plain up in extension list

This list is used for extension lookup, higher values will be preferred.
For text/plain, we want to default to a .txt extension.
parent cd4be0e4
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -31,10 +31,11 @@ public class MimeUtility {
     * http://www.stdicon.com/mimetypes
     */
    private static final String[][] MIME_TYPE_BY_EXTENSION_MAP = new String[][] {
        //* Do not delete the next two lines
    //* Do not delete the next three lines
    { "", DEFAULT_ATTACHMENT_MIME_TYPE },
    { "k9s", K9_SETTINGS_MIME_TYPE},
    //* Do not delete the previous two lines
    { "txt", "text/plain"},
    //* Do not delete the previous three lines
    { "123", "application/vnd.lotus-1-2-3"},
    { "323", "text/h323"},
    { "3dml", "text/vnd.in3d.3dml"},