fix bug with KeyserverSyncManager updates in SettingsActivity

This commit is contained in:
Vincent Breitmoser
2018-07-13 14:32:58 +02:00
parent 4f4be8ed47
commit c7bef6efda
2 changed files with 3 additions and 12 deletions

View File

@@ -55,8 +55,6 @@ public class KeyserverSyncManager {
return;
}
/* Periodic syncs can't be unique, so we just use this to launch a uniquely queued worker */
Builder constraints = new Builder()
.setRequiredNetworkType(prefs.getWifiOnlySync() ? NetworkType.UNMETERED : NetworkType.CONNECTED)
.setRequiresBatteryNotLow(true);