* commit 'c19586a8055b27bc7c7cc3ac3e1f38eec8cc82a9': Delay discovery of system trust agents
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user