diff options
author | Rubin Xu <rubinxu@google.com> | 2020-03-26 22:27:55 +0000 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2020-03-27 17:36:04 +0000 |
commit | 3589e891ba992e2476389f4026e227ddf6989d70 (patch) | |
tree | 2c96089f981666c1e8e64c3b2244b302faa6f6b4 /tools/aapt2/java/AnnotationProcessor_test.cpp | |
parent | 0ccefbe94b6519faa12fa7c25f85bfc446f575b9 (diff) |
Restore password metrics after a credential-less unlock
Password metrics for the curent lockscreen credential needs to be
available after unlock but it's not possible to recalculate them
if unlock is performed with a token. To fix this we store an
encrypted metrics alongside the current password-based SP and
decrypt it during token-based unlock.
Bug: 145601001
Test: atest com.android.server.locksettings
Test: atest
com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testResetPasswordWithToken
Change-Id: I01bf310b2e265986be92b09a753f0ecfa69d83f2
Change-Id: Icfc7bd3a3db710e9606cb2df305683b421c785a7
Diffstat (limited to 'tools/aapt2/java/AnnotationProcessor_test.cpp')
0 files changed, 0 insertions, 0 deletions