From 09480006afe4c0610e45ceed124f37f5dacaebc8 Mon Sep 17 00:00:00 2001 From: Robert Greenwalt Date: Tue, 13 May 2014 06:32:53 -0700 Subject: [PATCH] Comment out some new netd calls to fix networking. bug:14869053 Change-Id: Ifc44f3cbadd0402c7b06e01962695e6b65dc48b3 --- .../core/java/com/android/server/ConnectivityService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/core/java/com/android/server/ConnectivityService.java b/services/core/java/com/android/server/ConnectivityService.java index c1ffd56ae5..ce2aefb6b5 100644 --- a/services/core/java/com/android/server/ConnectivityService.java +++ b/services/core/java/com/android/server/ConnectivityService.java @@ -2084,7 +2084,7 @@ public class ConnectivityService extends IConnectivityManager.Stub { getConnectivityChangeDelay()); } try { - mNetd.removeNetwork(thisNetId); +// mNetd.removeNetwork(thisNetId); } catch (Exception e) { loge("Exception removing network: " + e); } finally { @@ -2388,7 +2388,7 @@ public class ConnectivityService extends IConnectivityManager.Stub { int thisNetId = nextNetId(); thisNet.setNetId(thisNetId); try { - mNetd.createNetwork(thisNetId, thisIface); +// mNetd.createNetwork(thisNetId, thisIface); } catch (Exception e) { loge("Exception creating network :" + e); teardown(thisNet); @@ -2420,7 +2420,7 @@ public class ConnectivityService extends IConnectivityManager.Stub { int thisNetId = nextNetId(); thisNet.setNetId(thisNetId); try { - mNetd.createNetwork(thisNetId, thisIface); +// mNetd.createNetwork(thisNetId, thisIface); } catch (Exception e) { loge("Exception creating network :" + e); teardown(thisNet);