Fix issue #1838944: Application sync settings cant be changed with auto sync on

This commit is contained in:
Dianne Hackborn
2009-05-13 13:18:22 -07:00
parent a2a34a5711
commit 271cee6de8

View File

@@ -387,8 +387,7 @@ public class SyncStorageEngine extends Handler {
while (i > 0) {
i--;
AuthorityInfo authority = mAuthorities.get(i);
if (authority.account.equals(account)
&& authority.authority.equals(providerName)) {
if (authority.authority.equals(providerName)) {
authority.enabled = sync;
}
}