Merge change 776 into donut
* changes: Make sure we request the Client allocation status even if we fail to open a debugger port for it.
This commit is contained in:
@@ -748,12 +748,13 @@ final class DeviceMonitor {
|
||||
if (AndroidDebugBridge.getClientSupport()) {
|
||||
client.listenForDebugger(debuggerPort);
|
||||
}
|
||||
client.requestAllocationStatus();
|
||||
} catch (IOException ioe) {
|
||||
client.getClientData().setDebuggerConnectionStatus(ClientData.DEBUGGER_ERROR);
|
||||
Log.e("ddms", "Can't bind to local " + debuggerPort + " for debugger");
|
||||
// oh well
|
||||
}
|
||||
|
||||
client.requestAllocationStatus();
|
||||
} else {
|
||||
Log.e("ddms", "Handshake with " + client + " failed!");
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user