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

Commit e3917218 authored by Corey Tabaka's avatar Corey Tabaka
Browse files

Merge commit '88a9bc0d' into manual_merge_88a9bc0d9

Test: Manual tests.

Change-Id: I1a3bbb11aba89061b064fa9197688e8f844a2bfa
parents d35a6de7 88a9bc0d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -349,17 +349,9 @@ DisplayService::GetVisibleDisplaySurfaces() const {

void DisplayService::UpdateActiveDisplaySurfaces() {
  auto visible_surfaces = GetVisibleDisplaySurfaces();

  std::sort(visible_surfaces.begin(), visible_surfaces.end(),
            [](const std::shared_ptr<DisplaySurface>& a,
               const std::shared_ptr<DisplaySurface>& b) {
              return a->z_order() < b->z_order();
            });

  ALOGD_IF(TRACE,
           "DisplayService::UpdateActiveDisplaySurfaces: %zd visible surfaces",
           visible_surfaces.size());

  hardware_composer_.SetDisplaySurfaces(std::move(visible_surfaces));
}

+205 −149

File changed.

Preview size limit exceeded, changes collapsed.

+62 −38

File changed.

Preview size limit exceeded, changes collapsed.