Merge "Improve logs in checkNrisConsistency" am: f58a955b37 am: 9b540a80b4

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1872875

Change-Id: I7568adefd07a2c6324f26d7e28d442f03a34537f
This commit is contained in:
Treehugger Robot
2021-10-28 19:42:17 +00:00
committed by Automerger Merge Worker

View File

@@ -4047,7 +4047,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
// Temporary help to debug b/194394697 ; TODO : remove this function when the // Temporary help to debug b/194394697 ; TODO : remove this function when the
// bug is fixed. // bug is fixed.
dumpAllRequestInfoLogsToLogcat(); dumpAllRequestInfoLogsToLogcat();
throw new IllegalStateException("This NRI is already registered. " + nri); throw new IllegalStateException("This NRI is already registered. New : " + nri
+ ", existing : " + n);
} }
} }
} }