Merge "[LE unicast] Using the pairDeviceByCsip API" into tm-qpr-dev

This commit is contained in:
SongFerng Wang
2022-10-19 05:12:22 +00:00
committed by Android (Google) Code Review

View File

@@ -87,9 +87,7 @@ public final class BluetoothPairingRequest extends BroadcastReceiver {
return;
}
if (mBluetoothManager.getCachedDeviceManager().shouldPairByCsip(device, groupId)) {
device.createBond(BluetoothDevice.TRANSPORT_LE);
}
mBluetoothManager.getCachedDeviceManager().pairDeviceByCsip(device, groupId);
}
}
}