Merge "Revert "Importing the following changes from gmscore""
This commit is contained in:
@@ -42,9 +42,6 @@ public class ExecutorProvider {
|
||||
/** Shuts down all the created {@link ScheduledExecutorService} instances. */
|
||||
public void shutdownAll() {
|
||||
for (ScheduledExecutorService executor : serviceTypeClientSchedulerExecutors) {
|
||||
if (executor.isShutdown()) {
|
||||
continue;
|
||||
}
|
||||
executor.shutdownNow();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -238,7 +238,6 @@ public class MdnsDiscoveryManager implements MdnsSocketClientBase.Callback {
|
||||
}
|
||||
if (perNetworkServiceTypeClients.isEmpty()) {
|
||||
// No discovery request. Stops the socket client.
|
||||
sharedLog.i("All service type listeners unregistered; stopping discovery");
|
||||
socketClient.stopDiscovery();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -332,7 +332,6 @@ public class MdnsServiceTypeClient {
|
||||
|
||||
private void onResponseModified(@NonNull MdnsResponse response) {
|
||||
final String serviceInstanceName = response.getServiceInstanceName();
|
||||
sharedLog.i("Handling response from service: " + serviceInstanceName);
|
||||
final MdnsResponse currentResponse =
|
||||
instanceNameToResponse.get(serviceInstanceName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user