Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be3bceb5 authored by Fred Quintana's avatar Fred Quintana
Browse files

fix the logic for starting a sync after the accounts changed

parent 3de07024
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ class SyncManager implements OnAccountsUpdatedListener {
            // If this was the bootup case then don't sync everything, instead only
            // sync those that have an unknown syncable state, which will give them
            // a chance to set their syncable state.
            boolean onlyThoseWithUnkownSyncableState = !justBootedUp;
            boolean onlyThoseWithUnkownSyncableState = justBootedUp;
            scheduleSync(null, null, null, 0 /* no delay */, onlyThoseWithUnkownSyncableState);
        }
    }