Auto-update every 12 hours instead.

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2014-03-02 16:16:38 -08:00
parent 1af99ce155
commit 2dc893730a

View File

@ -15,7 +15,7 @@ public class DirectoryRefreshListener extends BroadcastReceiver {
private static final String REFRESH_EVENT = "org.whispersystems.whisperpush.DIRECTORY_REFRESH"; private static final String REFRESH_EVENT = "org.whispersystems.whisperpush.DIRECTORY_REFRESH";
private static final String BOOT_EVENT = "android.intent.action.BOOT_COMPLETED"; private static final String BOOT_EVENT = "android.intent.action.BOOT_COMPLETED";
private static final long INTERVAL = 24 * 60 * 60 * 1000; // 24 hours. private static final long INTERVAL = 12 * 60 * 60 * 1000; // 12 hours.
@Override @Override
public void onReceive(Context context, Intent intent) { public void onReceive(Context context, Intent intent) {