diff options
author | Eric Biggers <ebiggers@google.com> | 2021-03-17 15:08:47 -0700 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2021-03-22 16:05:54 +0000 |
commit | b0a72e225375eea846e7190ae471d8e903a70c0b (patch) | |
tree | 35bc62bc32aa6fa7f69214e53f7585097d4f81c1 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | abe60b3500b7b0574106cd5c6bf5bebfb47897be (diff) |
UserController: avoid misleading log messages about failed to find key
If a user's CE storage requires a credential token to unlock, then
there's no need to try to unlock it without one.
This avoids logging some misleading error messages on every boot, like:
E vold : Failed to read from /data/misc/vold/user_keys/ce/0/current/keymaster_key_blob: No such file or directory
E vold : Failed to find working ce key for user 0
E vold : Couldn't read key for 0
Bug: 146206679
Test: atest com.android.server.am.UserControllerTest
atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testResetPasswordWithToken
Also a manual test: booted device that has a PIN. Verified that
the misleading log messages are no longer present. Unlocked
device, then removed the PIN and rebooted. Verified that the
device was then automatically unlocked as expected.
Change-Id: I5652a417727553f10a39eb97fc04cc5116b81347
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions