NsdService: test coverage for client requests.
Adding coverage for: - NsdManager client disconnection - in-flight request GC Test: new test passes Bug: 37013369, 33298084 Change-Id: I92039f297cf99352bbf4196797933d89c0b819ff
This commit is contained in:
@@ -273,6 +273,14 @@ public final class NsdManager {
|
||||
init();
|
||||
}
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*/
|
||||
@VisibleForTesting
|
||||
public void disconnect() {
|
||||
mAsyncChannel.disconnect();
|
||||
}
|
||||
|
||||
/**
|
||||
* Failures are passed with {@link RegistrationListener#onRegistrationFailed},
|
||||
* {@link RegistrationListener#onUnregistrationFailed},
|
||||
|
||||
Reference in New Issue
Block a user