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:
Nick Alexander 2015-02-11 10:15:11 -08:00
parent 50cc0567a7
commit 7f233d4238
2 changed files with 2 additions and 3 deletions

View File

@ -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/. */

View File

@ -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 {