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

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

Change-Id: I04d442b9975ea2ee91d12f33ee3a78a52763ecf7
This commit is contained in:
Treehugger Robot
2021-10-28 20:00:34 +00:00
committed by Automerger Merge Worker

View File

@@ -4068,7 +4068,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);
}
}
}