From 3608d4a8908dae200e6991174ac2c75637f7c021 Mon Sep 17 00:00:00 2001 From: Leon Scroggins Date: Fri, 19 Feb 2010 11:18:53 -0500 Subject: Change to 5 days ago group to 7 days ago. Fix for http://b/issue?id=2450232 --- core/java/android/webkit/DateSorter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/java/android/webkit/DateSorter.java b/core/java/android/webkit/DateSorter.java index 16feaa9..bc13504 100644 --- a/core/java/android/webkit/DateSorter.java +++ b/core/java/android/webkit/DateSorter.java @@ -26,7 +26,7 @@ import java.util.Date; * Sorts dates into the following groups: * Today * Yesterday - * five days ago + * seven days ago * one month ago * older than a month ago */ @@ -41,7 +41,7 @@ public class DateSorter { private long [] mBins = new long[DAY_COUNT-1]; private String [] mLabels = new String[DAY_COUNT]; - private static final int NUM_DAYS_AGO = 5; + private static final int NUM_DAYS_AGO = 7; /** * @param context Application context -- cgit v1.1