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

Commit 4f40f1c1 authored by Andrew Cheng's avatar Andrew Cheng Committed by Automerger Merge Worker
Browse files

Merge changes from topic "hci-disconnect-reason" am: 1c276e75

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1597111

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I365552952f71b85e6ebbc517eb87081361d61d2c
parents a0dd9676 1c276e75
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -728,7 +728,9 @@ public class CompanionDeviceManagerService extends SystemService implements Bind
        }

        @Override
        public void onDeviceDisconnected(BluetoothDevice device) {
        public void onDeviceDisconnected(BluetoothDevice device, @DisconnectReason int reason) {
            Slog.d(LOG_TAG, device.getAddress() + " disconnected w/ reason: (" + reason + ") "
                    + BluetoothAdapter.BluetoothConnectionCallback.disconnectReasonText(reason));
            CompanionDeviceManagerService.this.onDeviceDisconnected(device.getAddress());
        }
    }