diff options
author | Dianne Hackborn <hackbod@google.com> | 2009-05-13 13:18:22 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2009-05-13 13:18:22 -0700 |
commit | 271cee6de82749b362c91406d9ad6dbc2fa09d5a (patch) | |
tree | b90b37d63c212287101e8223e31c7cdc133dee11 | |
parent | a2a34a5711bde03475b40edfe3cc052ece02700a (diff) | |
download | frameworks_base-271cee6de82749b362c91406d9ad6dbc2fa09d5a.zip frameworks_base-271cee6de82749b362c91406d9ad6dbc2fa09d5a.tar.gz frameworks_base-271cee6de82749b362c91406d9ad6dbc2fa09d5a.tar.bz2 |
Fix issue #1838944: Application sync settings cant be changed with auto sync on
-rw-r--r-- | core/java/android/content/SyncStorageEngine.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/content/SyncStorageEngine.java b/core/java/android/content/SyncStorageEngine.java index 3827849..9c25e73 100644 --- a/core/java/android/content/SyncStorageEngine.java +++ b/core/java/android/content/SyncStorageEngine.java @@ -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; } } |