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

Commit 96d3132b authored by Adrian Roos's avatar Adrian Roos Committed by Android Git Automerger
Browse files

am c19586a8: am 7b4a38b1: Delay discovery of system trust agents

* commit 'c19586a8':
  Delay discovery of system trust agents
parents 6ab86274 c19586a8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -120,8 +120,9 @@ public class TrustManagerService extends SystemService {
        if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY && !isSafeMode()) {
            mPackageMonitor.register(mContext, mHandler.getLooper(), UserHandle.ALL, true);
            mReceiver.register(mContext);
            maybeEnableFactoryTrustAgents(mLockPatternUtils, UserHandle.USER_OWNER);
            refreshAgentList(UserHandle.USER_ALL);
        } else if (phase == SystemService.PHASE_BOOT_COMPLETED && !isSafeMode()) {
            maybeEnableFactoryTrustAgents(mLockPatternUtils, UserHandle.USER_OWNER);
        }
    }