Fix several race conditions

The fixes are specific to unit test environment.

PiperOrigin-RevId: 546342096
This commit is contained in:
Janusz Sobczak
2023-07-07 11:53:50 -07:00
committed by Copybara-Service
parent 61820e49fb
commit ca9bbd3a9c
6 changed files with 65 additions and 28 deletions
+1 -1
View File
@@ -353,7 +353,7 @@ class MediumEnvironment {
Borrowable<api::ble_v2::GattServer*> gatt_server);
void UnregisterGattServer(api::ble_v2::BleMedium& medium);
Borrowable<api::ble_v2::GattServer*>* GetGattServer(
Borrowable<api::ble_v2::GattServer*> GetGattServer(
api::ble_v2::BlePeripheral& peripheral);
// Configures the BluetoothPairingContext for remote BluetoothDevice.