Log whether BT pairing dialog is accepted or canceled am: ac47013154
am: e8fe657b46
Change-Id: If947ee29ae057437fa5f677fabbef19c1d5a5450
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