Delete obsolete 8100 debug port message

Test: NA
Bug: NA
Change-Id: I5c498d9e10c05395c9d81508d961df228258f01a
This commit is contained in:
Fabien Sanglard
2022-12-07 21:27:28 +00:00
parent 06a7fbc4cb
commit 1dc032f18b

View File

@@ -6794,11 +6794,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);
@@ -6813,10 +6811,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...");
}
}