!38583 适配通话应用关闭启动页退出动画

Merge pull request !38583 from 熊永龙/master
This commit is contained in:
openharmony_ci 2024-07-24 07:02:07 +00:00 committed by Gitee
commit a4c08cc29f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -261,7 +261,7 @@ void WindowScene::BufferAvailableCallback()
CHECK_NULL_VOID(self->startingWindow_);
const auto& config =
Rosen::SceneSessionManager::GetInstance().GetWindowSceneConfig().startingWindowAnimationConfig_;
if (config.enabled_) {
if (config.enabled_ && self->session_->NeedStartingWindowExitAnimation()) {
auto context = self->startingWindow_->GetRenderContext();
CHECK_NULL_VOID(context);
context->SetMarkNodeGroup(true);