Log whether BT pairing dialog is accepted or canceled am: ac47013154

am: e8fe657b46

Change-Id: If947ee29ae057437fa5f677fabbef19c1d5a5450
This commit is contained in:
Christine Hallstrom
2016-06-23 20:56:40 +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();
}