mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 16:22:53 +00:00
No bug - Allow manually syncing a Legacy Sync account.
We accidentally set the "can account be synced at all" flag to the value of the "should account be synced in response to network activity" flag.
This commit is contained in:
parent
50cc0567a7
commit
7f233d4238
@ -1,5 +1,4 @@
|
||||
/* -*- Mode: Java; c-basic-offset: 2; tab-width: 20; indent-tabs-mode: nil; -*-
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
@ -285,7 +285,7 @@ public class SyncAccounts {
|
||||
Logger.debug(LOG_TAG, "Account " + account + " added successfully.");
|
||||
|
||||
setSyncAutomatically(account, syncAutomatically);
|
||||
setIsSyncable(account, syncAutomatically);
|
||||
setIsSyncable(account, true);
|
||||
Logger.debug(LOG_TAG, "Set account to sync automatically? " + syncAutomatically + ".");
|
||||
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user