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 | f36b9b5d686e8bf02a1d9fd482324037ebf2310f (patch) | |
tree | 7e55ce3a15fd19a058d7407e5cc26d69e8f422a9 /framework/java/android/bluetooth/BluetoothGattCallback.java | |
parent | d173ec435715533f4c9fd3d104df70afae8826d8 (diff) |
Make BluetoothGattCallback.onServiceChanged public
Bug: 154056389
Test: proper CTS test will be provided
Change-Id: I2c9264910b65d62124c75c3ee3fd0b5bd18a2006
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothGattCallback.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothGattCallback.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/java/android/bluetooth/BluetoothGattCallback.java b/framework/java/android/bluetooth/BluetoothGattCallback.java index 9f6b8287e7..1c40cff076 100644 --- a/framework/java/android/bluetooth/BluetoothGattCallback.java +++ b/framework/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) { } } |