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

Commit 9d44241b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove obsolete comment about Weaver deadlock" into main

parents 69139932 c4153730
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1183,9 +1183,7 @@ public class LockSettingsService extends ILockSettings.Stub {

            // If config_disableWeaverOnUnsecuredUsers=true, then the Weaver HAL may be buggy and
            // need multiple retries before it works here to unwrap the SP, if the SP was already
            // protected by Weaver.  Note that the problematic HAL can also deadlock if called with
            // the ActivityManagerService lock held, but that should not be a problem here since
            // that lock isn't held here, unlike unlockUserKeyIfUnsecured() where it is.
            // protected by Weaver.
            for (int i = 0; i < 12 && sp == null; i++) {
                Slog.e(TAG, "Failed to unwrap synthetic password. Waiting 5 seconds to retry.");
                SystemClock.sleep(5000);