Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop sending status responses from inside findUserIndexByCredential. (#…
…25026) A utility function to look up information shoud not be sending status responses that would override what its callers might want to do with that information. findUserIndexByCredential has the following callers: * getCredentialStatusCommandHandler: this sends an error response if findUserIndexByCredential returns false. * modifyProgrammingPIN: this returns a failure status if findUserIndexByCredential returns false, and its only callsite in DoorLockServer::setCredentialCommandHandler then sends a status response. * DoorLockServer::clearCredential: this returns a failure status if findUserIndexByCredential returns false, and its callers in DoorLockServer::clearCredentialCommandHandler then send a status response. * DoorLockServer::HandleRemoteLockOperation: this sends an error response if findUserIndexByCredential returns false.
- Loading branch information