Loading services/core/java/com/android/server/trust/TrustManagerService.java +5 −2 Original line number Original line Diff line number Diff line Loading @@ -518,8 +518,11 @@ public class TrustManagerService extends SystemService { agentInfo = mActiveAgents.valueAt(index); agentInfo = mActiveAgents.valueAt(index); } } boolean directUnlock = resolveInfo.serviceInfo.directBootAware boolean directUnlock = false; if (agentInfo.settings != null) { directUnlock = resolveInfo.serviceInfo.directBootAware && agentInfo.settings.canUnlockProfile; && agentInfo.settings.canUnlockProfile; } if (directUnlock) { if (directUnlock) { if (DEBUG) Slog.d(TAG, "refreshAgentList: trustagent " + name if (DEBUG) Slog.d(TAG, "refreshAgentList: trustagent " + name Loading Loading
services/core/java/com/android/server/trust/TrustManagerService.java +5 −2 Original line number Original line Diff line number Diff line Loading @@ -518,8 +518,11 @@ public class TrustManagerService extends SystemService { agentInfo = mActiveAgents.valueAt(index); agentInfo = mActiveAgents.valueAt(index); } } boolean directUnlock = resolveInfo.serviceInfo.directBootAware boolean directUnlock = false; if (agentInfo.settings != null) { directUnlock = resolveInfo.serviceInfo.directBootAware && agentInfo.settings.canUnlockProfile; && agentInfo.settings.canUnlockProfile; } if (directUnlock) { if (directUnlock) { if (DEBUG) Slog.d(TAG, "refreshAgentList: trustagent " + name if (DEBUG) Slog.d(TAG, "refreshAgentList: trustagent " + name Loading