diff options
author | Andre Eisenbach <eisenbach@google.com> | 2015-05-14 14:48:00 -0700 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2015-06-02 02:28:54 +0000 |
commit | 708f57f4dc34587cd9a0b507fda20555a94c4755 (patch) | |
tree | 24bac25329cd9fe2e7eaff377b352aa64ec1acf1 /core/java/android/bluetooth | |
parent | 11df5b66ef621c4d67f5b4980e879784de43fd70 (diff) | |
download | frameworks_base-708f57f4dc34587cd9a0b507fda20555a94c4755.zip frameworks_base-708f57f4dc34587cd9a0b507fda20555a94c4755.tar.gz frameworks_base-708f57f4dc34587cd9a0b507fda20555a94c4755.tar.bz2 |
Un-hide connectGatt() variant with selective transport
Change-Id: I1d3c512160de2bd68550faf243bb151d5cf7f3c9
Diffstat (limited to 'core/java/android/bluetooth')
-rw-r--r-- | core/java/android/bluetooth/BluetoothDevice.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/java/android/bluetooth/BluetoothDevice.java b/core/java/android/bluetooth/BluetoothDevice.java index 26a91e4..dcf06d8 100644 --- a/core/java/android/bluetooth/BluetoothDevice.java +++ b/core/java/android/bluetooth/BluetoothDevice.java @@ -567,19 +567,16 @@ public final class BluetoothDevice implements Parcelable { /** * No preferrence of physical transport for GATT connections to remote dual-mode devices - * @hide */ public static final int TRANSPORT_AUTO = 0; /** * Prefer BR/EDR transport for GATT connections to remote dual-mode devices - * @hide */ public static final int TRANSPORT_BREDR = 1; /** * Prefer LE transport for GATT connections to remote dual-mode devices - * @hide */ public static final int TRANSPORT_LE = 2; @@ -1564,7 +1561,6 @@ public final class BluetoothDevice implements Parcelable { * {@link BluetoothDevice#TRANSPORT_AUTO} or * {@link BluetoothDevice#TRANSPORT_BREDR} or {@link BluetoothDevice#TRANSPORT_LE} * @throws IllegalArgumentException if callback is null - * @hide */ public BluetoothGatt connectGatt(Context context, boolean autoConnect, BluetoothGattCallback callback, int transport) { |