summaryrefslogtreecommitdiffstats
path: root/core/tests
diff options
context:
space:
mode:
authorCasper Bonde <c.bonde@samsung.com>2015-05-08 14:32:24 +0200
committerAndre Eisenbach <eisenbach@google.com>2015-06-09 21:42:22 +0000
commit3b3d1fea94318a4892fbd4353269749af417a81a (patch)
tree35e44e3d5ad431e3327fcdc4b189653c77b027b8 /core/tests
parent6f024937c11bd9e1ad0aa2ab9ae05e14eae5063a (diff)
downloadframeworks_base-3b3d1fea94318a4892fbd4353269749af417a81a.zip
frameworks_base-3b3d1fea94318a4892fbd4353269749af417a81a.tar.gz
frameworks_base-3b3d1fea94318a4892fbd4353269749af417a81a.tar.bz2
SAP: Make it possible to enforce a 16-digit pin code (4/5)
This change enable the posibility to enforce using a 16-digit pin or MITM for a RFCOMM or L2CAP connection. This is needed for the SIM access profile. Change-Id: I3205013f9e758c353381442a86845dab467780f8 Signed-off-by: Casper Bonde <c.bonde@samsung.com>
Diffstat (limited to 'core/tests')
-rw-r--r--core/tests/bluetoothtests/src/android/bluetooth/BluetoothTestUtils.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/tests/bluetoothtests/src/android/bluetooth/BluetoothTestUtils.java b/core/tests/bluetoothtests/src/android/bluetooth/BluetoothTestUtils.java
index 8fbd214..0d9980a 100644
--- a/core/tests/bluetoothtests/src/android/bluetooth/BluetoothTestUtils.java
+++ b/core/tests/bluetoothtests/src/android/bluetooth/BluetoothTestUtils.java
@@ -170,6 +170,7 @@ public class BluetoothTestUtils extends Assert {
assertNotSame(-1, varient);
switch (varient) {
case BluetoothDevice.PAIRING_VARIANT_PIN:
+ case BluetoothDevice.PAIRING_VARIANT_PIN_16_DIGITS:
mDevice.setPin(mPin);
break;
case BluetoothDevice.PAIRING_VARIANT_PASSKEY: