三方应用截图增加uiextension隐私保护能力

Signed-off-by: huangkai <huangkai73@huawei.com>
This commit is contained in:
huangkai 2024-10-19 18:18:49 +08:00
parent 0c00ca4f9c
commit 5b79b9f87b

View File

@ -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_);