Updates the calendar event query range to 7 days future, 1 day past
bug: 17364127
Change-Id: I85877a1abdbc1098fca1c09c0afae6f9b4f7f0eb
diff --git a/src/com/android/contacts/quickcontact/QuickContactActivity.java b/src/com/android/contacts/quickcontact/QuickContactActivity.java
index d664464..f70eb0d 100644
--- a/src/com/android/contacts/quickcontact/QuickContactActivity.java
+++ b/src/com/android/contacts/quickcontact/QuickContactActivity.java
@@ -281,9 +281,9 @@
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;