summaryrefslogtreecommitdiffstats
path: root/services/java
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2011-07-15 11:16:45 -0700
committerRobert Greenwalt <rgreenwalt@google.com>2011-07-15 11:16:45 -0700
commitc96e6ccec9c41dee75f54e0db418df345e2a9bd9 (patch)
treea70ecd763ffab1299af125f3b2bd0ebb63166163 /services/java
parentfc5e367d80ed19f91b02d8a5615b4a3ac6c3f161 (diff)
downloadframeworks_base-c96e6ccec9c41dee75f54e0db418df345e2a9bd9.zip
frameworks_base-c96e6ccec9c41dee75f54e0db418df345e2a9bd9.tar.gz
frameworks_base-c96e6ccec9c41dee75f54e0db418df345e2a9bd9.tar.bz2
Start default connections on startup.
On devices with mobile data we were kind of doing this in Telephony. Devices without could use this. bug:5030831 Change-Id: I9940561e88e43917bc8e638f5c3b15fced3821ae
Diffstat (limited to 'services/java')
-rw-r--r--services/java/com/android/server/ConnectivityService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/java/com/android/server/ConnectivityService.java b/services/java/com/android/server/ConnectivityService.java
index eaaf8c2..7812927 100644
--- a/services/java/com/android/server/ConnectivityService.java
+++ b/services/java/com/android/server/ConnectivityService.java
@@ -484,6 +484,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
continue;
}
mCurrentLinkProperties[netType] = null;
+ if (mNetConfigs[netType].isDefault()) mNetTrackers[netType].reconnect();
}
IBinder b = ServiceManager.getService(Context.NETWORKMANAGEMENT_SERVICE);