am 9991017b: Only leave one default network up at a time.

* commit '9991017bbd026080695fc33198609be7bfd4f9be':
  Only leave one default network up at a time.
This commit is contained in:
Robert Greenwalt
2011-04-04 12:18:58 -07:00
committed by Android Git Automerger

View File

@@ -1297,6 +1297,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
" teardown"); " teardown");
if (!teardown(otherNet)) { if (!teardown(otherNet)) {
Slog.e(TAG, "Network declined teardown request"); Slog.e(TAG, "Network declined teardown request");
teardown(thisNet);
return; return;
} }
if (isFailover) { if (isFailover) {