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

Commit a5c92499 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Assigns broadcast endpoint ID to messages to host"

parents 5bbf35ff 4dc7e049
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -383,6 +383,7 @@ int Contexthub::contextHubCb(uint32_t hubId,

        msg.appName = rxMsg->app_name.id;
        msg.msgType = rxMsg->message_type;
        msg.hostEndPoint = static_cast<uint16_t>(HostEndPoint::BROADCAST);
        msg.msg = std::vector<uint8_t>(static_cast<const uint8_t *>(rxMsg->message),
                                       static_cast<const uint8_t *>(rxMsg->message) +
                                       rxMsg->message_len);