commit | a8a777bbbd105142c417ee967b744ff9f98e4987 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Wed Jan 18 18:57:41 2023 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Fri Jan 27 19:37:04 2023 +0900 |
tree | 37236685e93605aba548284aad9b3c12ea1f66a0 | |
parent | 8f453b9c9cdc5233b5c340db88c312d2757c79ad [diff] |
Allow Advertiser, DiscoveryManager runtime toggle Allow toggling MdnsAdvertiser and MdnsDiscoveryManager at runtime, by always creating them in NsdService constructor, but only using them when the flag is on when starting discovery, resolve or registration. When stopping, based on the type of the stored request, stop the corresponding backend. Bug: 265891278 Test: atest NsdServiceTest Change-Id: I7cb2f9fe9e1ed3dc77616689a8e3ffa00f5bc269