Log whether BT pairing dialog is accepted or canceled

am: ac47013154

Change-Id: I09bdaf679b490bfb361c1648a8eee9f57db8b566
This commit is contained in:
Christine Hallstrom
2016-06-23 20:53:59 +00:00
committed by android-build-merger

View File

@@ -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();
}