Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d95d198 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by The Android Automerger
Browse files

Comment out some new netd calls to fix networking.

bug:14869053
Change-Id: Ifc44f3cbadd0402c7b06e01962695e6b65dc48b3
parent c83d438b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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);