Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5369ad6f authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am 541ff5df: Merge change 1566 into donut

Merge commit '541ff5df'

* commit '541ff5df':
  Fix issue #1838944: Application sync settings cant be changed with auto sync on
parents d032b402 541ff5df
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -391,8 +391,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;
                    }
                    }
                }
                }