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

Commit abbe6e86 authored by JS Huang's avatar JS Huang
Browse files

csip: fix wrong parameters passed in when calling OnDeviceAvailable()

it should pass "size" and then "rank", instead of "rank" and then
"size" when calling OnDeviceAvailable().

Bug: 279270913
Test: Manual
Change-Id: Ia642d01f6e78757318e2c1730a6c23286068033d
parent a5ac5ee2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -228,8 +228,8 @@ class CsisClientImpl : public CsisClient {
    }

    callbacks_->OnDeviceAvailable(device->addr, csis_group->GetGroupId(),
                                  csis_instance->GetRank(),
                                  csis_group->GetDesiredSize(), uuid);
                                  csis_group->GetDesiredSize(),
                                  csis_instance->GetRank(), uuid);
  }

  void Connect(const RawAddress& address) override {