Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da0e253c authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Automerger Merge Worker
Browse files

Merge "Make BluetoothGattCallback.onServiceChanged public" am: 80250373 am:...

Merge "Make BluetoothGattCallback.onServiceChanged public" am: 80250373 am: 531993dc am: 23c923d1 am: 41e6915d am: d69656a0

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1439193

Change-Id: If481ce4165216b93c0c78ed070c757e9fc632d91
parents 79385e90 d69656a0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8783,6 +8783,7 @@ package android.bluetooth {
    method public void onPhyUpdate(android.bluetooth.BluetoothGatt, int, int, int);
    method public void onReadRemoteRssi(android.bluetooth.BluetoothGatt, int, int);
    method public void onReliableWriteCompleted(android.bluetooth.BluetoothGatt, int);
    method public void onServiceChanged(@NonNull android.bluetooth.BluetoothGatt);
    method public void onServicesDiscovered(android.bluetooth.BluetoothGatt, int);
  }
+3 −2
Original line number Diff line number Diff line
@@ -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) {
    }
}
+1 −0
Original line number Diff line number Diff line
@@ -8783,6 +8783,7 @@ package android.bluetooth {
    method public void onPhyUpdate(android.bluetooth.BluetoothGatt, int, int, int);
    method public void onReadRemoteRssi(android.bluetooth.BluetoothGatt, int, int);
    method public void onReliableWriteCompleted(android.bluetooth.BluetoothGatt, int);
    method public void onServiceChanged(@NonNull android.bluetooth.BluetoothGatt);
    method public void onServicesDiscovered(android.bluetooth.BluetoothGatt, int);
  }