diff options
author | Rubin Xu <rubinxu@google.com> | 2017-09-19 15:27:21 +0100 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2017-09-19 15:27:21 +0100 |
commit | 24570e49f3f56ee9439493cbdc039894eb9af850 (patch) | |
tree | 553a3a07a2644abffe0084e3f8ae632c5c292b44 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7bbe06231fc658f54929695b96f538dccb11d185 (diff) |
Fail gracefully if password reset token is invalidated
This can happen if the user went through an untrusted credential reset,
which causes it's synthetic password to change. In this case fail gracefully.
Bug: 65912645
Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testResetPasswordWithToken
Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.ManagedProfileTest#testResetPasswordTokenUsableAfterClearingLock
Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.ManagedProfileTest#testResetPasswordWithTokenBeforeUnlock
Change-Id: I2f2fc4fbaa97cde6f4c1997e27aa5087b0a42b19
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions