mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-08-27 05:41:16 -04:00
关闭abilityComponent场景下的窗口
Signed-off-by: dubj <dubingjian@huawei.com> Change-Id: Iad7ce50f1d76f3e481bdc4fb5b56f535824ced72
This commit is contained in:
@@ -1854,9 +1854,13 @@ void WindowImpl::SetDefaultOption()
|
||||
property_->SetWindowFlags(0);
|
||||
break;
|
||||
}
|
||||
case WindowType::WINDOW_TYPE_APP_COMPONENT: {
|
||||
property_->SetWindowMode(WindowMode::WINDOW_MODE_FLOATING);
|
||||
property_->SetAnimationFlag(static_cast<uint32_t>(WindowAnimation::NONE));
|
||||
break;
|
||||
}
|
||||
case WindowType::WINDOW_TYPE_TOAST:
|
||||
case WindowType::WINDOW_TYPE_FLOAT:
|
||||
case WindowType::WINDOW_TYPE_APP_COMPONENT:
|
||||
case WindowType::WINDOW_TYPE_LAUNCHER_DOCK:
|
||||
case WindowType::WINDOW_TYPE_SEARCHING_BAR: {
|
||||
property_->SetWindowMode(WindowMode::WINDOW_MODE_FLOATING);
|
||||
|
||||
Reference in New Issue
Block a user