[LE unicast] Using the pairDeviceByCsip API

ag/20176285 changes the API flow.

Bug: 253541065
Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=CachedBluetoothDeviceManagerTest
local test and result is on bug (pass)

Change-Id: I2354b464a93b3122b462dc9cc20556f621490d2a
This commit is contained in:
SongFerngWang
2022-10-12 22:34:22 +08:00
committed by SongFerng Wang
parent 689350d4d4
commit 7087388a0f

View File

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