Merge change 1566 into donut
* changes: Fix issue #1838944: Application sync settings cant be changed with auto sync on
This commit is contained in:
@@ -387,8 +387,7 @@ public class SyncStorageEngine extends Handler {
|
|||||||
while (i > 0) {
|
while (i > 0) {
|
||||||
i--;
|
i--;
|
||||||
AuthorityInfo authority = mAuthorities.get(i);
|
AuthorityInfo authority = mAuthorities.get(i);
|
||||||
if (authority.account.equals(account)
|
if (authority.authority.equals(providerName)) {
|
||||||
&& authority.authority.equals(providerName)) {
|
|
||||||
authority.enabled = sync;
|
authority.enabled = sync;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user