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

Commit ac470131 authored by Christine Hallstrom's avatar Christine Hallstrom Committed by Andre Eisenbach
Browse files

Log whether BT pairing dialog is accepted or canceled

Change-Id: I584cef273f16e27cd7e569b53abccedfe0bd0af7
parent f0c92901
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -387,6 +387,7 @@ public final class BluetoothPairingDialog extends AlertActivity implements
    }

    private void onPair(String value) {
        Log.i(TAG, "Pairing dialog accepted");
        switch (mType) {
            case BluetoothDevice.PAIRING_VARIANT_PIN:
            case BluetoothDevice.PAIRING_VARIANT_PIN_16_DIGITS:
@@ -422,6 +423,7 @@ public final class BluetoothPairingDialog extends AlertActivity implements
    }

    private void onCancel() {
        Log.i(TAG, "Pairing dialog canceled");
        mDevice.cancelPairingUserInput();
    }