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

Commit 7087388a authored by SongFerngWang's avatar SongFerngWang Committed by SongFerng Wang
Browse files

[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
parent 689350d4
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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);
        }
    }
}