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

Commit fbfbc73d authored by Paul Sliwowski's avatar Paul Sliwowski
Browse files

Fixed crash when changing recurrent event.

Bug: 9735508
Change-Id: I90eb878598b758bfe0dcbb5ea33dc315b08f4487
parent dc72665b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1320,7 +1320,8 @@ public class EditEventHelper {
            // Not weekly so nothing to worry about.
            return;
        }
        if (mEventRecurrence.byday.length > mEventRecurrence.bydayCount) {
        if (mEventRecurrence.byday == null ||
                mEventRecurrence.byday.length > mEventRecurrence.bydayCount) {
            // This shouldn't happen, but just in case something is weird about the recurrence.
            return;
        }