Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[Fast Pair] Migrate to modern GATT service discovery API."
This reverts commit 06ea495. Reason for revert: For some reason, the migration to the new GATT API is not finding the associated Fast Pair service. We need to investigate this further to determine the underlying cause, which is likely on the platform/API side.See: b/260142871 Original change's description: > [Fast Pair] Migrate to modern GATT service discovery API. > > In the FastPairGattClientImpl class, GattServicesDiscovered is > implemented and GattDiscoveryCompleteForService is removed. > The former replaces the deprecated latter. > > Follow-up CLs related to the Bug: > - A new Handshake failure that the device is > missing Fast Pair service even if the GATT services discovery is > complete needs to be surfaced. > - The addition of a GATT operation timeout for GATT connection separate > from the GATT service discovery to help us distinguish failure points. > > TEST= > - Initial pair, subsequent pair, and retroactive pair scenarios > were tested on DUT. > - The newly added unit test tests the case in which the Fast Pair > Service isn't found on the device; all other test cases test the case > that the Service is found. This covers the scenarios for the new API. > > Bug: b/257099968 > Change-Id: Ia46360ec9bc0b6ac851161a33efcd4d71d8d0ec2 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4015079 > Reviewed-by: Ryan Hansberry <hansberry@chromium.org> > Reviewed-by: Juliet Lévesque <julietlevesque@google.com> > Commit-Queue: Brando Socarras <brandosocarras@google.com> > Cr-Commit-Position: refs/heads/main@{#1073644} Bug: b/257099968 Change-Id: I44455e320a502d4cda81a09a4b86626371a7b6dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4049134 Reviewed-by: Juliet Lévesque <julietlevesque@google.com> Auto-Submit: Jack Shira <jackshira@google.com> Commit-Queue: Juliet Lévesque <julietlevesque@google.com> Cr-Commit-Position: refs/heads/main@{#1075159}
- Loading branch information