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

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

Merge "SF: Iterate correctly over multiple displays when computing and caching bounds"

parents 661b1907 01ace761
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2329,7 +2329,7 @@ void SurfaceFlinger::computeLayerBounds() {
        for (const auto& layer : mDrawingState.layersSortedByZ) {
            // only consider the layers on the given layer stack
            if (!display->belongsInOutput(layer->getLayerStack(), layer->getPrimaryDisplayOnly())) {
                return;
                continue;
            }

            layer->computeBounds(displayDevice->getViewport().toFloatRect(), ui::Transform());