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