From 366e86962f546d257f047eb78f1dbd6d3cdf3e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E6=B8=85=E4=BA=91?= Date: Thu, 17 Jul 2025 22:49:22 +0800 Subject: [PATCH] =?UTF-8?q?DFX=EF=BC=9A=E8=B7=B3=E8=BF=87=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E5=8F=98=E5=8C=96=E4=BA=8B=E4=BB=B6=E6=97=B6=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E7=BB=B4=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 胡清云 --- frameworks/core/pipeline_ng/pipeline_context.cpp | 3 +++ test/unittest/core/pipeline/pipeline_context_test_ng_two.cpp | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frameworks/core/pipeline_ng/pipeline_context.cpp b/frameworks/core/pipeline_ng/pipeline_context.cpp index 7340447aeec..c8e689187df 100755 --- a/frameworks/core/pipeline_ng/pipeline_context.cpp +++ b/frameworks/core/pipeline_ng/pipeline_context.cpp @@ -795,6 +795,9 @@ void PipelineContext::FlushVsync(uint64_t nanoTimestamp, uint32_t frameCount) HandleVisibleAreaChangeEvent(nanoTimestamp); isNeedCallbackAreaChange_ = false; RenderContext::SetNeedCallbackNodeChange(true); + } else { + ACE_SCOPED_TRACE("SkipAreaChangeEvent"); + TAG_LOGD(AceLogTag::ACE_UIEVENT, "Skip AreaChangeEvent"); } } else { HandleOnAreaChangeEvent(nanoTimestamp); diff --git a/test/unittest/core/pipeline/pipeline_context_test_ng_two.cpp b/test/unittest/core/pipeline/pipeline_context_test_ng_two.cpp index ab0a4289f94..ad3bf246c62 100644 --- a/test/unittest/core/pipeline/pipeline_context_test_ng_two.cpp +++ b/test/unittest/core/pipeline/pipeline_context_test_ng_two.cpp @@ -2100,7 +2100,6 @@ HWTEST_F(PipelineContextTestNg, PipelineContextTestNg193, TestSize.Level1) */ context_->EnableContainerModalGesture(isEnable); EXPECT_FALSE(AceType::DynamicCast(context_->rootNode_->GetChildren().front())); - context_->rootNode_->children_.clear(); /** -- Gitee