commit | 6c23a59305e1a0435d1c5761749017866a4f5772 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Mon Jan 29 19:47:06 2024 +0000 |
committer | Eric Biggers <ebiggers@google.com> | Mon Jan 29 19:47:06 2024 +0000 |
tree | 0fef36b168858ea119dd728fb8ead74073f60c39 | |
parent | fe9c3c82cec4c0b7149fa40cd5d3934d172b1177 [diff] |
Avoid NPE when trying to unlock user with wrong token handle Make it so that when LockSettingsInternal#unlockUserWithToken() is called with a userId that exists but a tokenHandle that doesn't, it returns false instead of throwing a NullPointerException. Bug: 322415645 Test: atest com.android.server.locksettings Change-Id: I34499d1842f2ad5d416d4f065d470be7f3318370