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

Commit 66cbe4af authored by Weichin Weng's avatar Weichin Weng Committed by Android (Google) Code Review
Browse files

Merge "Use GATT_WRITE_NO_RSP for "state change" updates" into qt-dev

parents 7529fe2c 76907e27
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1551,9 +1551,9 @@ class HearingAidImpl : public HearingAid {
      // Send the data packet
      LOG(INFO) << __func__ << ": Send State Change. device=" << device->address
                << ", status=" << loghex(payload[1]);
      BtaGattQueue::WriteCharacteristic(device->conn_id,
                                        device->audio_control_point_handle,
                                        payload, GATT_WRITE, nullptr, nullptr);
      BtaGattQueue::WriteCharacteristic(
          device->conn_id, device->audio_control_point_handle, payload,
          GATT_WRITE_NO_RSP, nullptr, nullptr);
    }
  }