Implement service resolved callback

Service resolved should be notified when receive the
onServiceFound callbacks from MdnsServiceBrowserListener

Bug: 254166302
Test: atest FrameworksNetTests CtsNetTestCases
Change-Id: I681720065084bf3449c5b1ab44cd4ed6a659dcdb
This commit is contained in:
Paul Hu
2023-01-14 00:31:09 +08:00
parent 319751a572
commit 75069ed47e
3 changed files with 154 additions and 24 deletions

View File

@@ -243,9 +243,7 @@ public final class NsdManager {
public static final int UNREGISTER_CLIENT = 22;
/** @hide */
public static final int MDNS_MONITORING_SOCKETS_CLEANUP = 23;
/** @hide */
public static final int MDNS_DISCOVERY_MANAGER_EVENT = 24;
public static final int MDNS_DISCOVERY_MANAGER_EVENT = 23;
/** Dns based service discovery protocol */
public static final int PROTOCOL_DNS_SD = 0x0001;