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

Commit 3882c5d5 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Bluetooth: Fix RfComm socket cursor exceptions in STRICT MODE."

parents ca66e22c 58338ecd
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -517,8 +517,11 @@ public final class BluetoothSocket implements Closeable {
                    mSocket.close();
                    mSocket = null;
                }
                if(mPfd != null)
                if(mPfd != null) {
                    mPfd.detachFd();
                    mPfd.close();
                    mPfd = null;
                }
           }
        }
    }