Log whether BT pairing dialog is accepted or canceled
am: ac47013154
Change-Id: I09bdaf679b490bfb361c1648a8eee9f57db8b566
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user