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

Commit bf3a2032 authored by Etienne Ruffieux's avatar Etienne Ruffieux Committed by Gerrit Code Review
Browse files

Merge "[Pandora] Fix GATT server test that don't need data."

parents 9788c87a 9ba12891
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ class GattServerManager(
  val callback =
    object : BluetoothGattServerCallback() {
      override fun onServiceAdded(status: Int, service: BluetoothGattService) {
        Log.i(TAG, "onServiceAdded")
        Log.i(TAG, "onServiceAdded status=$status")
        check(status == BluetoothGatt.GATT_SUCCESS)
        check(newServiceFlow.tryEmit(service))
      }
@@ -68,7 +68,7 @@ class GattServerManager(
            ByteArray(negociatedMtu)
          )
        } else {
          server.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset, ByteArray(512))
          server.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset, ByteArray(0))
        }
      }