diff --git a/rosen/modules/render_service/core/drawable/rs_surface_render_node_drawable.cpp b/rosen/modules/render_service/core/drawable/rs_surface_render_node_drawable.cpp index aed401c954..1923acb7be 100644 --- a/rosen/modules/render_service/core/drawable/rs_surface_render_node_drawable.cpp +++ b/rosen/modules/render_service/core/drawable/rs_surface_render_node_drawable.cpp @@ -536,6 +536,7 @@ void RSSurfaceRenderNodeDrawable::OnCapture(Drawing::Canvas& canvas) return; } + // HidePrivacyContent is only for UICapture or NoneSystemCalling-WindowCapture bool isHiddenScene = canvas.GetUICapture() || (RSUniRenderThread::GetCaptureParam().isSingleSurface_ && !RSUniRenderThread::GetCaptureParam().isSystemCalling_);