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

Commit c86ffdba authored by Rajesh Yengisetty's avatar Rajesh Yengisetty Committed by Gerrit Code Review
Browse files

Merge "UsbDebuggingManager : Handle race condition when toggling rapidly" into cm-11.0

parents 59a9fc5c 99335b98
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -119,13 +119,13 @@ public class UsbDebuggingManager implements Runnable {
    private void closeSocket() {
        try {
            mOutputStream.close();
        } catch (IOException e) {
        } catch (Exception e) {
            Slog.e(TAG, "Failed closing output stream: " + e);
        }

        try {
            mSocket.close();
        } catch (IOException ex) {
        } catch (Exception ex) {
            Slog.e(TAG, "Failed closing socket: " + ex);
        }
    }