feff2af5c0ed726bb84bb9c979ddf921bd328a6f
When a client of the NsdService exits, NsdService should clean up the requests it has sent to the mDNS daemon: cancel any pending resource-discovery and resource-resolution queries, and remove any services registered by this client. If this isn't done, several bad things happen. The daemon will continue to run unnecessarily, will report service discoveries that can't be forwarded on to the client, and will continue to advertise service ports for an application which is no longer running until the device is rebooted (mDNS pollution). Bug: 9801184 Change-Id: I0aa7311480322aefcff16f902fbbf34f50985d38
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%