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

Commit a8f849ca authored by Etienne Ruffieux's avatar Etienne Ruffieux
Browse files

Follow-up of aosp/3044634 for root id

With aosp/3044634 root id is brought back to native but
was still missing in the response, adding it.

This doesn't need to be flagged as the root id passed in
the callback of SetBrowsedPlayerResponse before the
refactor was already "".

Bug: 297843126
Flag: Exempt trivial
Test: atest BluetoothInstrumentationTests
Change-Id: I5efbe012038a75d119fcd30977aa72d3550588f8
parent 86f579fb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1505,8 +1505,8 @@ void Device::SetBrowsedPlayerResponse(uint8_t label, std::shared_ptr<SetBrowsedP
  current_path_ = std::stack<std::string>();
  current_path_.push(root_id);

  auto response =
          SetBrowsedPlayerResponseBuilder::MakeBuilder(Status::NO_ERROR, 0x0000, num_items, 0, "");
  auto response = SetBrowsedPlayerResponseBuilder::MakeBuilder(Status::NO_ERROR, 0x0000, num_items,
                                                               0, root_id);
  send_message(label, true, std::move(response));
}