mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
Auto-update every 12 hours instead.
// FREEBIE
This commit is contained in:
parent
1af99ce155
commit
2dc893730a
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user