Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6cbdd23 authored by Eric Biggers's avatar Eric Biggers
Browse files

Use VerifyCredentialResponse#isMatched() instead of comparing response code

The large number of callers of
VerifyCredentialResponse#getResponseCode() makes it hard to see in code
search how the response codes are being used.  However, most of them
just check for RESPONSE_OK, and there's already a method for that:
isMatched().  Use that instead.  No functional change.

Bug: 423038471
Test: atest FrameworksServicesTests:com.android.server.locksettings
Flag: EXEMPT refactor
Change-Id: Iaf4be81afafc3d7a67faaf788424ebbe8ef35194
parent 51e0f914
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment