commit | 55b15da6ff64dfcc57a77081d9c3dbdf0150b584 | [log] [tgz] |
---|---|---|
author | Ayush Jain <ayushjain@google.com> | Mon Feb 26 22:43:44 2024 +0000 |
committer | Ayush Jain <ayushjain@google.com> | Tue Feb 27 05:44:53 2024 +0000 |
tree | 469738909a20d7dbab9c725b7b7627da8b0e9fd5 | |
parent | b25626bf3ea05ff2bb9f58ccc7292d38e2034dfc [diff] |
Use SESSION_STATUS_NTF.reasonCode when SESSION_START fails. Currently when the UWBS sends a SESSION_STATUS_NTF that indicates failure (after receiving the SESSION_START CMD from the Host), the AOSP stack is not using the reasonCode to signal the appropriate ApiErrorCode in the callback. This CL fixes that for reasonCode = ERROR_SESSION_KEY_NOT_FOUND. Bug: 301508334 Test: atest ServiceUwbTests Change-Id: I1f6acf7a18bbe03dc1ad2769c18029ff3967ebb0