diff options
3 files changed, 1 insertions, 8 deletions
diff --git a/framework/java/android/bluetooth/BluetoothGatt.java b/framework/java/android/bluetooth/BluetoothGatt.java index 4255cd46ec..8b7b0af9f7 100644 --- a/framework/java/android/bluetooth/BluetoothGatt.java +++ b/framework/java/android/bluetooth/BluetoothGatt.java @@ -86,9 +86,7 @@ public final class BluetoothGatt implements BluetoothProfile { /** A write operation exceeds the maximum length of the attribute */ public static final int GATT_INVALID_ATTRIBUTE_LENGTH = 0xd; - /** A remote device connection is congested. - * @hide - */ + /** A remote device connection is congested. */ public static final int GATT_CONNECTION_CONGESTED = 0x8f; /** A GATT operation failed, errors other than the above */ @@ -1263,7 +1261,6 @@ public final class BluetoothGatt implements BluetoothProfile { * <p>Requires {@link android.Manifest.permission#BLUETOOTH} permission. * * @return true, if the new MTU value has been requested successfully - * @hide */ public boolean configureMTU(int mtu) { if (DBG) Log.d(TAG, "configureMTU() - device: " + mDevice.getAddress() diff --git a/framework/java/android/bluetooth/BluetoothGattCallback.java b/framework/java/android/bluetooth/BluetoothGattCallback.java index b5e60f2c98..5817d6844a 100644 --- a/framework/java/android/bluetooth/BluetoothGattCallback.java +++ b/framework/java/android/bluetooth/BluetoothGattCallback.java @@ -149,7 +149,6 @@ public abstract class BluetoothGattCallback { * @param gatt GATT client invoked {@link BluetoothGatt#configureMTU} * @param mtu The new MTU size * @param status {@link BluetoothGatt#GATT_SUCCESS} if the MTU has been changed successfully - * @hide */ public void onConfigureMTU(BluetoothGatt gatt, int mtu, int status) { } @@ -164,7 +163,6 @@ public abstract class BluetoothGattCallback { * * @param gatt The GATT client associated with the remote device * @param congested true, if the connection is currently congested - * @hide */ public void onConnectionCongested(BluetoothGatt gatt, boolean congested) { } diff --git a/framework/java/android/bluetooth/BluetoothGattServerCallback.java b/framework/java/android/bluetooth/BluetoothGattServerCallback.java index 4fbeb46735..3a1b38ee6b 100644 --- a/framework/java/android/bluetooth/BluetoothGattServerCallback.java +++ b/framework/java/android/bluetooth/BluetoothGattServerCallback.java @@ -142,7 +142,6 @@ public abstract class BluetoothGattServerCallback { * * @param device The remote device the notification has been sent to * @param status 0 if the operation was successful - * @hide */ public void onNotificationSent(BluetoothDevice device, int status) { } @@ -157,7 +156,6 @@ public abstract class BluetoothGattServerCallback { * * @param device The remote device that triggered the congestion state change * @param congested true, if the connection is currently congested - * @hide */ public void onConnectionCongested(BluetoothDevice device, boolean congested) { } |