Merge changes from topic "hci-disconnect-reason" am: 1c276e7591 am: 4f40f1c1f6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1597111 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I7d1048a809d03138bcbe6ddc6e3e1178f3e51907
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user