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
This commit is contained in:
Robert Greenwalt
2011-07-15 11:16:45 -07:00
parent 3079c1666e
commit 497ff5e731

View File

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