diff options
| author | Jakub Pawlowski <jpawlowski@google.com> | 2020-09-25 20:17:33 +0200 |
|---|---|---|
| committer | Jakub Pawlowski <jpawlowski@google.com> | 2020-09-26 15:50:37 +0000 |
| commit | 2c1d2c21cf5772d0b82124a580c8db8bafd0429a (patch) | |
| tree | b5bfda2ac089408396331275d7c7eb14cf7b2eda /core/java/android/bluetooth | |
| parent | f29902285a56562b8993a0cbce337bf4c895f406 (diff) | |
Make BluetoothGattCallback.onServiceChanged public
Bug: 154056389
Test: proper CTS test will be provided
Change-Id: I2c9264910b65d62124c75c3ee3fd0b5bd18a2006
Diffstat (limited to 'core/java/android/bluetooth')
| -rw-r--r-- | core/java/android/bluetooth/BluetoothGattCallback.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/bluetooth/BluetoothGattCallback.java b/core/java/android/bluetooth/BluetoothGattCallback.java index 9f6b8287e791..1c40cff076f6 100644 --- a/core/java/android/bluetooth/BluetoothGattCallback.java +++ b/core/java/android/bluetooth/BluetoothGattCallback.java @@ -16,6 +16,8 @@ package android.bluetooth; +import android.annotation.NonNull; + /** * This abstract class is used to implement {@link BluetoothGatt} callbacks. */ @@ -203,8 +205,7 @@ public abstract class BluetoothGattCallback { * called to re-discover the services. * * @param gatt GATT client involved - * @hide */ - public void onServiceChanged(BluetoothGatt gatt) { + public void onServiceChanged(@NonNull BluetoothGatt gatt) { } } |
