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

Commit 80e74979 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

csis: Make sure device list is ordered

Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: atest --host bluetooth_csis_test

Change-Id: Ib6036060451e6822997a23d771926069ce6247e6
parent 6ed81793
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -470,7 +470,6 @@ class CsisClientImpl : public CsisClient {
      return;
    }

    csis_group->SortByCsisRank();
    csis_group->SetTargetLockState(new_lock_state, std::move(cb));

    if (lock) {
@@ -1001,6 +1000,8 @@ class CsisClientImpl : public CsisClient {
    }

    csis_instance->SetRank((value[0]));
    auto csis_group = FindCsisGroup(csis_instance->GetGroupId());
    csis_group->SortByCsisRank();
  }

  void OnCsisObserveCompleted(void) {