mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Actually use backup jitter in local backups.
This commit is contained in:
@@ -52,7 +52,7 @@ public class LocalBackupListener extends PersistentAlarmManagerListener {
|
||||
|
||||
int jitter = (new Random().nextInt(BACKUP_JITTER_WINDOW_SECONDS)) - (BACKUP_JITTER_WINDOW_SECONDS / 2);
|
||||
|
||||
next.plusSeconds(jitter);
|
||||
next = next.plusSeconds(jitter);
|
||||
|
||||
if (now.isAfter(next)) {
|
||||
next = next.plusDays(1);
|
||||
|
||||
Reference in New Issue
Block a user