Loading framework/java/android/bluetooth/BluetoothGattCallback.java +3 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ package android.bluetooth; import android.annotation.NonNull; /** * This abstract class is used to implement {@link BluetoothGatt} callbacks. */ Loading Loading @@ -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) { } } Loading
framework/java/android/bluetooth/BluetoothGattCallback.java +3 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ package android.bluetooth; import android.annotation.NonNull; /** * This abstract class is used to implement {@link BluetoothGatt} callbacks. */ Loading Loading @@ -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) { } }