commit | 0ccf42c8ca665b48f010f41c76a71d9d435e7908 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Tue Apr 06 12:02:50 2021 -0700 |
committer | Eric Biggers <ebiggers@google.com> | Thu Apr 08 12:29:19 2021 -0700 |
tree | aae2d82bb8745aa0efc818a6b609bcb2fdde2195 | |
parent | 270db90c37abdded2c251c93b671869c2632dd3b [diff] |
Don't try to lock/unlock already locked/unlocked users Now that isUserKeyUnlocked() works correctly (even after a userspace reboot), we can make unlockUserKey() and lockUserKey() be no-ops if the user is already unlocked/locked. This avoids misleading log messages. Bug: 146206679 Test: see I482ed8017f7bbc8f7d4fd5a2c0f58629317ce4ed Change-Id: I125770c3fa238cb15de9dafb5163e874b4f79cf2