commit | 7445e3dc787f83a194d29dd0bfe9d78de5ff7dbc | [log] [tgz] |
---|---|---|
author | Paul Hu <paulhu@google.com> | Fri Mar 03 15:14:00 2023 +0800 |
committer | Paul Hu <paulhu@google.com> | Fri Mar 03 16:18:32 2023 +0800 |
tree | 530cb0b9162ec2e23fd7049b4352edd62c8830d0 | |
parent | e4f5f258d69f7e4a6ea0647beb68abe4edd739e4 [diff] |
Drop dot at the end of service type The service type that found from NsdManager#discoverServices() with old backend(mDnsResponder) has an extra dot at the end. And the previous API accepted both formats, so we need to keep backwards compatibility with both formats. Thus, drop that extra dot when constructing the service type for the new backend. Bug: 266030646 Test: atest FrameoworksNetTests Change-Id: I987ab866f6a3a7cff654f96978057fdd93b859d6