Merge "Add accessors for all addresses and clarify compare* methods"

This commit is contained in:
Lorenzo Colitti 2013-08-01 06:44:28 +00:00 • committed by Android (Google) Code Review
commit a721e2bb76

View file

@ -2433,7 +2433,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
CompareResult<RouteInfo> routeDiff = new CompareResult<RouteInfo>();
if (curLp != null) {
// check for the delta between the current set and the new
routeDiff = curLp.compareRoutes(newLp);
routeDiff = curLp.compareAllRoutes(newLp);
dnsDiff = curLp.compareDnses(newLp);
} else if (newLp != null) {
routeDiff.added = newLp.getAllRoutes();