summaryrefslogtreecommitdiffstats
path: root/core/java/android/content
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-05-13 13:18:22 -0700
committerDianne Hackborn <hackbod@google.com>2009-05-13 13:18:22 -0700
commit271cee6de82749b362c91406d9ad6dbc2fa09d5a (patch)
treeb90b37d63c212287101e8223e31c7cdc133dee11 /core/java/android/content
parenta2a34a5711bde03475b40edfe3cc052ece02700a (diff)
downloadframeworks_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
Diffstat (limited to 'core/java/android/content')
-rw-r--r--core/java/android/content/SyncStorageEngine.java3
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;
}
}