commit | 360a8e9e1b2c08c2bc598ea892ac671799a74535 | [log] [tgz] |
---|---|---|
author | Paul Hu <paulhu@google.com> | Tue Apr 26 11:14:14 2022 +0800 |
committer | Paul Hu <paulhu@google.com> | Thu Apr 28 20:55:30 2022 +0800 |
tree | 6175286513cc387217f7a490821f97784386daf8 | |
parent | 76ff4041530713cf55198bc85f119b3db7f51c42 [diff] |
Register service on the specified network Currently, NsdManager registers services on all interfaces when one network was specified in NsdServiceInfo. It's unexpected behavior. The service should be only advertised on specified network. Thus, correct the behavior on NsdService and add cts test to verify it. Bug: 220070737 Test: atest CtsNetTestCases:android.net.cts.NsdManagerTest Change-Id: Ief3bfa110bfa340c53edec561eb5376f6bd305e6