commit | 296e38e77963d730db155f6f7f6a0936244ce488 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Mon Jan 29 18:48:56 2024 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Mon Jan 29 18:48:56 2024 +0900 |
tree | 24a6d3c5e15ec930f22b562f82423af41d21cc86 | |
parent | c45efc312e75921ead6135b2ed6a3eb0426791b8 [diff] |
Fix service found callback on subtype update If a service is found without a requested subtype, then updated to have that subtype, onServiceUpdated would be sent instead of onServiceFound. Fix this by tracking which services have been found by each listener, as whether a service is newly found or updated depends on the options (in this case the subtype filter) of each listener. Fixes: 317167170 Test: atest Change-Id: If8dbe04d858082a872c0f068433a3680331c670b