commit | 572183abbd853abd61ae8e477f27c1628e021dd9 | [log] [tgz] |
---|---|---|
author | Siva Velusamy <vsiva@google.com> | Tue Jun 30 15:56:15 2015 -0700 |
committer | Siva Velusamy <vsiva@google.com> | Tue Jun 30 16:08:57 2015 -0700 |
tree | d9ff7088e3c02f982fc3210df718b40e05865c6a | |
parent | 5c0447da5bc32406176b256ff2718fd7207c07ff [diff] |
ddmlib DeviceMonitor: Fix synchronization around channel registration Whenever a new device is detected, a socket channel is opened to adb to listen to the VM's on that device. This channel needs to be registered with the selector that multiplexes across many such channels. This CL cleans up the synchronization between the two: the registration of the new channel now happens on the same thread where the selection happens. Change-Id: I214b245aade156cae20b845a0eadf4d07ecae417