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

Commit 40d7a65c authored by Paul Soulos's avatar Paul Soulos
Browse files

Updates the calendar event query range to 7 days future, 1 day past

bug: 17364127
Change-Id: I85877a1abdbc1098fca1c09c0afae6f9b4f7f0eb
parent c8bd00d2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -281,9 +281,9 @@ public class QuickContactActivity extends ContactsActivity {
    private static final int MAX_PAST_CALENDAR_RETRIEVE = 3;
    private static final int MAX_FUTURE_CALENDAR_RETRIEVE = 3;
    private static final long PAST_MILLISECOND_TO_SEARCH_LOCAL_CALENDAR =
            180L * 24L * 60L * 60L * 1000L /* 180 days */;
            1L * 24L * 60L * 60L * 1000L /* 1 day */;
    private static final long FUTURE_MILLISECOND_TO_SEARCH_LOCAL_CALENDAR =
            36L * 60L * 60L * 1000L /* 36 hours */;
            7L * 24L * 60L * 60L * 1000L /* 7 days */;

    /** Id for the background Call Log Loader */
    private static final int LOADER_CALL_LOG_ID = 3;