Revert "LE Audio Software offload: Handle death of client"
This reverts commit 39e81008a617b6a6f7225875c05556f48e388850.
Change-Id: I036fb8e0c6e9659f3f63e38f81791609a200a3d0
diff --git a/bluetooth/aidl/default/BluetoothHci.cpp b/bluetooth/aidl/default/BluetoothHci.cpp
index f6d992d..bcdb67e 100644
--- a/bluetooth/aidl/default/BluetoothHci.cpp
+++ b/bluetooth/aidl/default/BluetoothHci.cpp
@@ -97,10 +97,6 @@
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 @@
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 @@
.send_acl = &Hal::SendAcl,
.send_sco = &Hal::SendSco,
.send_iso = &Hal::SendIso,
- .client_died = &Hal::ClientDied,
};
}
}