diff options
author | Casper Bonde <c.bonde@samsung.com> | 2015-05-08 14:21:12 +0200 |
---|---|---|
committer | Pavlin Radoslavov <pavlin@google.com> | 2015-06-09 14:06:10 -0700 |
commit | 244e9c62a85a4b94e21bf1a8dee456e22bc767c4 (patch) | |
tree | 73635ed3afac30ae0103195675385c264a5127e2 /tests | |
parent | acc99899ec1c747365d7568a2fe53f53dfc3593f (diff) | |
download | android_packages_apps_Bluetooth-244e9c62a85a4b94e21bf1a8dee456e22bc767c4.tar.gz android_packages_apps_Bluetooth-244e9c62a85a4b94e21bf1a8dee456e22bc767c4.tar.bz2 android_packages_apps_Bluetooth-244e9c62a85a4b94e21bf1a8dee456e22bc767c4.zip |
SAP: Make it possible to enforce a 16-digit pin code (3/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: I42ada9b36d24d43697a2010eccbc0103f15af77d
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/bluetooth/tests/SecurityTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/src/com/android/bluetooth/tests/SecurityTest.java b/tests/src/com/android/bluetooth/tests/SecurityTest.java index 39d9f589d..10e291ea5 100644 --- a/tests/src/com/android/bluetooth/tests/SecurityTest.java +++ b/tests/src/com/android/bluetooth/tests/SecurityTest.java @@ -43,5 +43,9 @@ public class SecurityTest extends AndroidTestCase { Log.e(TAG, "Failed to create connection", e); fail(); } + Log.i(TAG, "\n\n\nTest done - please fetch logs within 30 seconds...\n\n\n"); + try { + Thread.sleep(30000); + } catch (InterruptedException e) {} } } |