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

Commit e766cc87 authored by Ana Krulec's avatar Ana Krulec
Browse files

SF: Set blur radius in winscope trace

Test: Run winscope trace while activating blur (pull down status bar).
      Result https://screenshot.googleplex.com/dPPANE5oUTy
Change-Id: I9b6638b3708a6561575e8096633d34b0e9906142
parent e6fd720c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2178,6 +2178,7 @@ void Layer::writeToProtoDrawingState(LayerProto* layerInfo, uint32_t traceFlags)
        layerInfo->set_effective_scaling_mode(getEffectiveScalingMode());

        layerInfo->set_corner_radius(getRoundedCornerState().radius);
        layerInfo->set_background_blur_radius(getBackgroundBlurRadius());
        LayerProtoHelper::writeToProto(transform, layerInfo->mutable_transform());
        LayerProtoHelper::writePositionToProto(transform.tx(), transform.ty(),
                                               [&]() { return layerInfo->mutable_position(); });