Make the DictionaryService check for download every day.

Bug: 20103664
Change-Id: Iba019d5f79f46c560171e0594c2b5114b477923a
This commit is contained in:
Mohammadinamul Sheik 2015-05-12 13:49:13 -07:00
parent 44caf52581
commit b08f434482

View file

@ -83,7 +83,7 @@ public final class DictionaryService extends Service {
* How often, in milliseconds, we want to update the metadata. This is a * How often, in milliseconds, we want to update the metadata. This is a
* floor value; actually, it may happen several hours later, or even more. * floor value; actually, it may happen several hours later, or even more.
*/ */
private static final long UPDATE_FREQUENCY_MILLIS = TimeUnit.DAYS.toMillis(4); private static final long UPDATE_FREQUENCY_MILLIS = TimeUnit.DAYS.toMillis(1);
/** /**
* We are waked around midnight, local time. We want to wake between midnight and 6 am, * We are waked around midnight, local time. We want to wake between midnight and 6 am,