Merge "Improve logs in checkNrisConsistency"

This commit is contained in:
Treehugger Robot 2021-10-28 19:09:27 +00:00 • committed by Gerrit Code Review
commit f58a955b37

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);
}
}
}