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

Commit 5f8a300a authored by Mike Lockwood's avatar Mike Lockwood Committed by Android (Google) Code Review
Browse files

Merge "Fix off by one error in NetworkManagementService.isUsbRNDISStarted()"

parents 4ac163f3 51cb9d5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -447,7 +447,7 @@ class NetworkManagementService extends INetworkManagementService.Stub {
            String []tok = line.split(" ");
            String []tok = line.split(" ");
            int code = Integer.parseInt(tok[0]);
            int code = Integer.parseInt(tok[0]);
            if (code == NetdResponseCode.UsbRNDISStatusResult) {
            if (code == NetdResponseCode.UsbRNDISStatusResult) {
                if (tok[2].equals("started"))
                if (tok[3].equals("started"))
                    return true;
                    return true;
                return false;
                return false;
            } else {
            } else {