Merge "Revert line introduced in previous CL that seems to always pass false for onTrustManagedChanged" into udc-qpr-dev

This commit is contained in:
Chandru S
2023-08-03 23:33:01 +00:00
committed by Android (Google) Code Review

View File

@@ -1401,7 +1401,7 @@ public class TrustManagerService extends SystemService {
for (int i = 0; i < mActiveAgents.size(); i++) {
AgentInfo info = mActiveAgents.valueAt(i);
if (info.userId == userId) {
if (info.agent.isTrustableOrWaitingForDowngrade()) {
if (info.agent.isManagingTrust()) {
return true;
}
}