Merge "Set P2p statemachine's network manager before starting Wifi" into klp-dev

This commit is contained in:
Vinit Deshapnde
2013-10-04 00:40:31 +00:00
committed by Android (Google) Code Review

View File

@@ -515,8 +515,9 @@ class ServerThread {
ServiceManager.addService(Context.CONNECTIVITY_SERVICE, connectivity);
networkStats.bindConnectivityManager(connectivity);
networkPolicy.bindConnectivityManager(connectivity);
wifi.checkAndStartWifi();
wifiP2p.connectivityServiceReady();
wifi.checkAndStartWifi();
} catch (Throwable e) {
reportWtf("starting Connectivity Service", e);
}