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

Commit a466c6c7 authored by Matthew Xie's avatar Matthew Xie
Browse files

Clean up debug messages

bug 7626174

Change-Id: I65cdcaf2c48a78468b6cef0b8591289435068b24
parent 2e650b34
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1212,7 +1212,7 @@ public final class BluetoothAdapter {
    final private IBluetoothManagerCallback mManagerCallback =
        new IBluetoothManagerCallback.Stub() {
            public void onBluetoothServiceUp(IBluetooth bluetoothService) {
                if (DBG) Log.d(TAG, "onBluetoothServiceUp: " + bluetoothService);
                if (VDBG) Log.d(TAG, "onBluetoothServiceUp: " + bluetoothService);
                synchronized (mManagerCallback) {
                    mService = bluetoothService;
                    for (IBluetoothManagerCallback cb : mProxyServiceStateCallbacks ){
@@ -1228,7 +1228,7 @@ public final class BluetoothAdapter {
            }

            public void onBluetoothServiceDown() {
                if (DBG) Log.d(TAG, "onBluetoothServiceDown: " + mService);
                if (VDBG) Log.d(TAG, "onBluetoothServiceDown: " + mService);
                synchronized (mManagerCallback) {
                    mService = null;
                    for (IBluetoothManagerCallback cb : mProxyServiceStateCallbacks ){
+1 −1
Original line number Diff line number Diff line
@@ -429,7 +429,7 @@ public final class BluetoothSocket implements Closeable {

    @Override
    public void close() throws IOException {
        Log.d(TAG, "close() in, this: " + this + ", channel: " + mPort + ", state: " + mSocketState);
        if (VDBG) Log.d(TAG, "close() in, this: " + this + ", channel: " + mPort + ", state: " + mSocketState);
        if(mSocketState == SocketState.CLOSED)
            return;
        else