diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java index a4c9f8c88eda8..4bc051ecc5057 100644 --- a/core/java/android/app/ActivityThread.java +++ b/core/java/android/app/ActivityThread.java @@ -6815,11 +6815,9 @@ public final class ActivityThread extends ClientTransactionHandler // Wait for debugger after we have notified the system to finish attach application if (data.debugMode != ApplicationThreadConstants.DEBUG_OFF) { - // XXX should have option to change the port. - Debug.changeDebugPort(8100); if (data.debugMode == ApplicationThreadConstants.DEBUG_WAIT) { Slog.w(TAG, "Application " + data.info.getPackageName() - + " is waiting for the debugger on port 8100..."); + + " is waiting for the debugger ..."); try { mgr.showWaitingForDebugger(mAppThread, true); @@ -6834,10 +6832,6 @@ public final class ActivityThread extends ClientTransactionHandler } catch (RemoteException ex) { throw ex.rethrowFromSystemServer(); } - - } else { - Slog.w(TAG, "Application " + data.info.getPackageName() - + " can be debugged on port 8100..."); } }