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

Commit dea96f14 authored by Paul Sliwowski's avatar Paul Sliwowski Committed by Android Git Automerger
Browse files

am fbfbc73d: Fixed crash when changing recurrent event.

* commit 'fbfbc73d':
  Fixed crash when changing recurrent event.
parents 0ae643d2 fbfbc73d
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;
        }