mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-30 10:41:29 +00:00
三方应用截图增加uiextension隐私保护能力
Signed-off-by: huangkai <huangkai73@huawei.com>
This commit is contained in:
parent
0c00ca4f9c
commit
5b79b9f87b
@ -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_);
|
||||
|
Loading…
Reference in New Issue
Block a user