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

Commit 14214040 authored by Myles Watson's avatar Myles Watson
Browse files

Cuttlefish: Call SCO callback for SCO packet

Bug: 171000929
Test: compiles
Change-Id: I3120d8a35e9c278ad63acce1653dd8737da0ad27
parent 4629caed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ Return<void> BluetoothHci::initialize_impl(
  controller_->RegisterScoChannel(
      [this, cb](std::shared_ptr<std::vector<uint8_t>> packet) {
        hidl_vec<uint8_t> sco_packet(packet->begin(), packet->end());
        auto ret = cb->aclDataReceived(sco_packet);
        auto ret = cb->scoDataReceived(sco_packet);
        if (!ret.isOk()) {
          LOG_ERROR("Error sending sco callback");
          if (!death_recipient_->getHasDied()) {