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

Commit 2c723976 authored by Antoine SOULIER's avatar Antoine SOULIER
Browse files

Revert "LE Audio Software offload: Handle death of client"

This reverts commit 39e81008.

Change-Id: I036fb8e0c6e9659f3f63e38f81791609a200a3d0
parent 4d217ea9
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -97,10 +97,6 @@ class Hal {
        std::vector<uint8_t>(data, data + len));
  }

  static void ClientDied(void* instance) {
    static_cast<Hal*>(instance)->ClientDied();
  }

 private:
  int getFdFromDevPath() {
    int fd = open(mDevPath.c_str(), O_RDWR);
@@ -326,11 +322,6 @@ class Hal {
    return true;
  }

  void ClientDied() {
    ALOGE("Bluetooth client has died");
    Close();
  }

  std::unique_ptr<struct hal_callbacks> mCallbacks;
  std::string mDevPath;
  int mFd{-1};
@@ -363,7 +354,6 @@ struct hal_interface hal_new() {
      .send_acl = &Hal::SendAcl,
      .send_sco = &Hal::SendSco,
      .send_iso = &Hal::SendIso,
      .client_died = &Hal::ClientDied,
  };
}
}