Make the DictionaryService check for download every day.
Bug: 20103664 Change-Id: Iba019d5f79f46c560171e0594c2b5114b477923amain
parent
44caf52581
commit
b08f434482
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue