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

Commit 0d09b3da authored by Vincent Bourgmayer's avatar Vincent Bourgmayer Committed by Romain Hunault
Browse files

Resolve "Whole day events from outlook not opened correctly"

parent a6ad29f1
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -180,6 +180,15 @@ public class ImportActivity extends Activity {
                    getLocalTimeFromString(dtEnd, dtEndParam));
        }


        //Check if some special property which say it is a "All-Day" event.

        String microsoft_all_day_event = firstEvent.getProperty("X-MICROSOFT-CDO-ALLDAYEVENT");
        if(!TextUtils.isEmpty(microsoft_all_day_event) && microsoft_all_day_event.equals("TRUE")){
            calIntent.putExtra(CalendarContract.EXTRA_EVENT_ALL_DAY, true);
        }


        calIntent.putExtra(EditEventActivity.EXTRA_READ_ONLY, true);

        try {