am 541ff5d: Merge change 1566 into donut

Merge commit '541ff5df00984580e0245b3ae2c89b93e76b7c08'

* commit '541ff5df00984580e0245b3ae2c89b93e76b7c08':
  Fix issue #1838944: Application sync settings cant be changed with auto sync on
This commit is contained in:
Android (Google) Code Review
2009-05-13 15:26:55 -07:00
committed by The Android Open Source Project

View File

@ -391,8 +391,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;
}
}