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

Commit b772ef6e authored by Chandru S's avatar Chandru S
Browse files

Revert line introduced in previous CL that seems to always pass `false` for `onTrustManagedChanged`

This change was introduce in commit fd27baff.
Test: verified manually,
  1. adb shell settings put global systemui/buffer/KeyguardUpdateMonitorLog DEBUG
  2. adb logcat -s "TrustRepositoryLog:*"
  3. Disable Extend Unlock and enable it, see the onTrustManagedChanged being passed with false and then true.
Change-Id: I2a4e3579d945a8c993b1a03eb27b05ceb4c4c792
parent 5e8a3030
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
                }
            }