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

Commit 6142a0b6 authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Fix build.

clicked "submit" on I65ae29bd when I shouldn't have.

Fixing according to comments and a build error change.
parent 28544190
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -265,7 +265,6 @@ public class Tethering extends INetworkManagementEventObserver.Stub {
    }

    private void sendTetherStateChangedBroadcast() {
Log.e("RJGRJG", "sendTetherStateChangedBroadcast");
        IBinder b = ServiceManager.getService(Context.CONNECTIVITY_SERVICE);
        IConnectivityManager service = IConnectivityManager.Stub.asInterface(b);
        try {
@@ -442,7 +441,6 @@ Log.e("RJGRJG", "sendTetherStateChangedBroadcast");
                }
                Tethering.this.toggleUsbIfaces(false); // remove them
            } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
Log.e("RJGRJG", "got conn action :"+action);
                IBinder b = ServiceManager.getService(Context.CONNECTIVITY_SERVICE);
                IConnectivityManager service = IConnectivityManager.Stub.asInterface(b);
                try {
@@ -991,10 +989,11 @@ Log.e("RJGRJG", "got conn action :"+action);
                                if (!Tethering.this.configureUsb(false)) {
                                    transitionTo(mUsbConfigurationErrorState);
                                } else {
                                    transitionTo(mUsbConfigurationErrorState);
                                }
                                    transitionTo(mInitialState);
                                }
                            } else {
                                transitionTo(mInitialState);
                            }
                        } else if (message.what == CMD_INTERFACE_DOWN) {
                            transitionTo(mUnavailableState);
                        }
@@ -1032,7 +1031,7 @@ Log.e("RJGRJG", "got conn action :"+action);
                        sendTetherStateChangedBroadcast();
                        if (mUsb) {
                            if (!Tethering.this.configureUsb(false)) {
                                transitionTo(mUsbConfigurationError);
                                transitionTo(mUsbConfigurationErrorState);
                                break;
                            }
                        }