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

Commit ff7c67f2 authored by Matthew Williams's avatar Matthew Williams Committed by Android Git Automerger
Browse files

am 5c6756fe: Revert "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager"

* commit '5c6756fe':
  Revert "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager"
parents 5468f545 5c6756fe
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@

package com.android.server.content;

import android.Manifest;
import android.accounts.Account;
import android.accounts.AccountAndUser;
import android.accounts.AccountManager;
@@ -481,7 +480,7 @@ public class SyncManager {
            mContext.registerReceiverAsUser(mAccountsUpdatedReceiver,
                    UserHandle.ALL,
                    new IntentFilter(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION),
                    Manifest.permission.ACCOUNT_MANAGER, null);
                    null, null);
        }

        // Pick a random second in a day to seed all periodic syncs