Merge change 1566 into donut

* changes:
  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:25:35 -07:00

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;
}
}