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

Commit 22dfa1b9 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Log tranport type in BondStateMachine

This is useful for deciding what pairing flow should follow.

Bug: none
Test: read logs for debugging.
Change-Id: I88dec390d0fdef5fca7da7f6e91b011c24017358
parent bd27ec02
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -352,7 +352,7 @@ final class BondStateMachine extends StateMachine {
    private boolean createBond(BluetoothDevice dev, int transport, OobData remoteP192Data,
            OobData remoteP256Data, boolean transition) {
        if (dev.getBondState() == BluetoothDevice.BOND_NONE) {
            infoLog("Bond address is:" + dev);
            infoLog("Bond address is:" + dev + ", transport is: " + transport);
            byte[] addr = Utils.getBytesFromAddress(dev.getAddress());
            int addrType = dev.getAddressType();
            boolean result;