Merge "Improve logs in checkNrisConsistency" am: f58a955b37

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

Change-Id: If7cb572f01551606024c2dbd3e77cb967f5d9ed6
This commit is contained in:
Treehugger Robot
2021-10-28 19:30:47 +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
// bug is fixed.
dumpAllRequestInfoLogsToLogcat();
throw new IllegalStateException("This NRI is already registered. " + nri);
throw new IllegalStateException("This NRI is already registered. New : " + nri
+ ", existing : " + n);
}
}
}