mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-13 12:07:26 +00:00
Auto-update every 12 hours instead.
// FREEBIE
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user