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

Commit 270a39d4 authored by Jochen Sprickerhof's avatar Jochen Sprickerhof Committed by Gitsaibot
Browse files

Fix MIME type of shared event (Closes: #1069)

parent 501271fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1208,7 +1208,7 @@ public class EventInfoFragment extends DialogFragment implements OnCheckedChange
                    shareIntent.putExtra(Intent.EXTRA_STREAM, icsFile);
                    // The ics file is sent as an extra, the receiving application decides whether
                    // to parse the file to extract calendar events or treat it as a regular file
                    shareIntent.setType("application/octet-stream");
                    shareIntent.setType("text/calendar");

                    Intent chooserIntent = Intent.createChooser(shareIntent,
                            getResources().getString(R.string.cal_share_intent_title));