diff options
author | Kevin Chyn <kchyn@google.com> | 2020-07-23 17:31:22 -0700 |
---|---|---|
committer | Kevin Chyn <kchyn@google.com> | 2020-08-07 12:17:29 -0700 |
commit | 6e6a735e65020a02064a9b6b913fb00de71b46d1 (patch) | |
tree | 719d8b281509a80901efb60fc754fb4f26baf9c5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e7694cc54cd20c8d385efc639e0f658896a4beb6 (diff) |
2/n: Remove unnecessary RequestThrottledException for verify paths
verifyCredential and verifyTiedProfileChallenge return a
VerifyCredentialResponse object instead of a byte[] now. Thus,
any/all information regarding the authentication attempt is
received by callers. We no longer need to use exceptions as a
method of returning an alternate non-byte[] result.
The RequestThrottledException cannot be completely removed yet
because checkCredential returns a boolean and has no way of
returning a timeout yet. See b/161956762
Bug: 161765592
Test: Accept/Reject/Lockout the following
1) Owner profile
2) Managed profile with separate challenge
3) Managed profile with unified challenge
Change-Id: Ia61c71bdde42dec34d8f2eac86d7ea964b1485c2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions