diff options
author | Stanley Tng <stng@google.com> | 2019-02-15 13:13:45 -0800 |
---|---|---|
committer | Stanley Tng <stng@google.com> | 2019-02-16 00:12:18 +0000 |
commit | bb9d7760860ef96972372761d793b9d2a033b5fc (patch) | |
tree | bbaa51890f7e25d17263ccfb44e6d9d84fba3c94 /framework/java/android/bluetooth/BluetoothDevice.java | |
parent | ec8d4cb38737c9955c68c927fb86d2142188c79b (diff) |
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
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothDevice.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothDevice.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/java/android/bluetooth/BluetoothDevice.java b/framework/java/android/bluetooth/BluetoothDevice.java index 2803856fb3..23f2904148 100644 --- a/framework/java/android/bluetooth/BluetoothDevice.java +++ b/framework/java/android/bluetooth/BluetoothDevice.java @@ -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 |