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

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

Merge "SurfaceFlinger: Do not capture rounded corners on screenshots"

parents 02ba2b5b 8acf5a0a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4645,6 +4645,9 @@ void SurfaceFlinger::traverseLayersInDisplay(const sp<const DisplayDevice>& hw,
            continue;
        }
        layer->traverseInZOrder(LayerVector::StateSet::Drawing, [&](Layer* layer) {
            if (!layer->belongsToDisplay(hw->getLayerStack(), false)) {
                return;
            }
            if (!layer->isVisible()) {
                return;
            }