Comment out some new netd calls to fix networking.

bug:14869053
Change-Id: Ifc44f3cbadd0402c7b06e01962695e6b65dc48b3
This commit is contained in:
Robert Greenwalt
2014-05-13 06:32:53 -07:00
parent 2d3cabca36
commit af0903c92d

View File

@@ -2084,7 +2084,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
getConnectivityChangeDelay()); getConnectivityChangeDelay());
} }
try { try {
mNetd.removeNetwork(thisNetId); // mNetd.removeNetwork(thisNetId);
} catch (Exception e) { } catch (Exception e) {
loge("Exception removing network: " + e); loge("Exception removing network: " + e);
} finally { } finally {
@@ -2388,7 +2388,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
int thisNetId = nextNetId(); int thisNetId = nextNetId();
thisNet.setNetId(thisNetId); thisNet.setNetId(thisNetId);
try { try {
mNetd.createNetwork(thisNetId, thisIface); // mNetd.createNetwork(thisNetId, thisIface);
} catch (Exception e) { } catch (Exception e) {
loge("Exception creating network :" + e); loge("Exception creating network :" + e);
teardown(thisNet); teardown(thisNet);
@@ -2420,7 +2420,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
int thisNetId = nextNetId(); int thisNetId = nextNetId();
thisNet.setNetId(thisNetId); thisNet.setNetId(thisNetId);
try { try {
mNetd.createNetwork(thisNetId, thisIface); // mNetd.createNetwork(thisNetId, thisIface);
} catch (Exception e) { } catch (Exception e) {
loge("Exception creating network :" + e); loge("Exception creating network :" + e);
teardown(thisNet); teardown(thisNet);