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

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

am dea96f14: am fbfbc73d: Fixed crash when changing recurrent event.

* commit 'dea96f14':
  Fixed crash when changing recurrent event.
parents 2b66f928 dea96f14
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;
        }