Fix the bad link due to typo

Replaces the link with the new API name, createInsecureL2capChannel.

Bug: 70683224
Test: Compile
Change-Id: I9580d90722f8b0c0146a902bb5fcace4ef58d421
Merged-In: Ia06e1fffd814671289a1caebd5962aedc18a28d7
This commit is contained in:
Stanley Tng
2019-02-15 13:13:45 -08:00
parent a3aae9fe4b
commit dcdfaf3d6b

View File

@@ -2175,8 +2175,7 @@ public final class BluetoothDevice implements Parcelable {
* encrypted.
* <p> Use this socket if an authenticated socket link is possible. Authentication refers
* to the authentication of the link key to prevent man-in-the-middle type of attacks. When a
* secure socket connection is not possible, use {#link createInsecureLeL2capCocSocket(int,
* int)}.
* secure socket connection is not possible, use {#link createInsecureL2capChannel(int)}.
*
* @param psm dynamic PSM value from remote device
* @return a CoC #BluetoothSocket ready for an outgoing connection