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

Commit bd8e2e20 authored by Erik's avatar Erik
Browse files

b/2358627 and b/2293263 Fixed eventDay bugs.

Changed query so that all days an event occurs on can be marked. Also
fixes index out of bounds error.
parent 0a49913c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1144,13 +1144,14 @@ public final class Calendar {
         * <P>Type: INTEGER (int)</P>
         */
        public static final String STARTDAY = "startDay";
        public static final String ENDDAY = "endDay";

    }

    public static final class EventDays implements EventDaysColumns {
        public static final Uri CONTENT_URI = Uri.parse("content://calendar/instances/groupbyday");

        public static final String[] PROJECTION = { STARTDAY };
        public static final String[] PROJECTION = { STARTDAY, ENDDAY };
        public static final String SELECTION = "selected==1";

        /**