android_packages_modules_Co.../services/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vinit Deshapnde 930a8513db Fix an NPE in NsdManager
The NPE happens because NSD Manager doesn't always notify with a 'good'
notification for SERVICE_FOUND. It can get in a situation where a
SERVICE_FOUND is recevied from MDnsDs demon when processing StopDiscovery
on the messaging thread. When that happens, NsdService sends a message
to NsdManager with an invalid index of the listener.

The fix is twofold. First, we fix NsdService to not generate a message if
it doesn't have a good listener index. And second, we also fix NsdManager
to watch for invalid index.

Change-Id: I3d63af10bded13c72e8e437a1ebf74a666760432
2013-06-25 19:45:03 -07:00
..
net Start combining threads in system process. 2013-05-02 17:42:40 -07:00
INativeDaemonConnectorCallbacks.java services: Introduce NativeDaemonConnector class 2010-01-12 13:55:39 -08:00
NativeDaemonConnector.java resolved conflicts for merge of e96a8207 to master 2013-06-10 11:09:28 -07:00
NativeDaemonConnectorException.java Move NativeDaemonConnector to varargs. 2011-11-29 12:09:06 -08:00
NativeDaemonEvent.java return value of String.replace() is ignored. 2012-10-28 23:57:57 +09:00
NsdService.java Fix an NPE in NsdManager 2013-06-25 19:45:03 -07:00