Merge "Dispatch correct callbacks from AIDL HAL" am: b53e8ef9b4

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2395552

Change-Id: I1ebd9e827072f7545737cc4c6ce3cea09ee26858
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2023-01-19 23:29:21 +00:00
committed by Automerger Merge Worker

View File

@@ -143,17 +143,17 @@ ndk::ScopedAStatus BluetoothHci::initialize(
[](const std::vector<uint8_t>& /* raw_command */) {
LOG_ALWAYS_FATAL("Unexpected command!");
},
[this](const std::vector<uint8_t>& raw_acl) {
mCb->aclDataReceived(raw_acl);
},
[this](const std::vector<uint8_t>& raw_sco) {
mCb->scoDataReceived(raw_sco);
},
[this](const std::vector<uint8_t>& raw_event) {
mCb->hciEventReceived(raw_event);
},
[this](const std::vector<uint8_t>& raw_acl) {
mCb->hciEventReceived(raw_acl);
},
[this](const std::vector<uint8_t>& raw_sco) {
mCb->hciEventReceived(raw_sco);
},
[this](const std::vector<uint8_t>& raw_iso) {
mCb->hciEventReceived(raw_iso);
mCb->isoDataReceived(raw_iso);
},
[this]() {
ALOGI("HCI socket device disconnected");