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

Commit c4794610 authored by Tom Hacohen's avatar Tom Hacohen Committed by Jochen Sprickerhof
Browse files

Accept "application/ics" in ImportActivity intent-filter

While text/calendar is the correct mime type for .ics files, there are
some non standard-compliant implementations out there, such as Gmail's
invitations that use application/ics as the mime type and thus don't
work with Etar.

Way to reproduce:
1. Get someone that uses Gmail to send you an invitation to an event.
2. Try opening the event directly from a mail app that just uses the sent
    mime type as sent in the email.

Before this patch:
1. Etar won't be opened.

After this patch:
1. Etar is opened.
parent eed7da64
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -174,6 +174,7 @@
                <data android:scheme="file" />
                <data android:mimeType="text/x-vcalendar" />
                <data android:mimeType="text/calendar" />
                <data android:mimeType="application/ics" />
            </intent-filter>
        </activity>