Modify set window type

Signed-off-by: 刘艺薇 <liuyiwei16@huawei.com>
This commit is contained in:
刘艺薇 2024-05-30 20:27:39 +08:00
parent 22551aa5da
commit f211887025

View File

@ -43,7 +43,7 @@ std::pair<sptr<ISession>, sptr<IRemoteObject>> GetProxy()
sptr<WindowOption> option = new WindowOption();
option->SetWindowName("SessionInterfaceFuzzTest");
option->SetWindowType(WindowType::WINDOW_TYPE_FLOAT);
option->SetWindowType(WindowType::WINDOW_TYPE_WALLPAPER);
sptr<WindowSessionImpl> window = new WindowSceneSessionImpl(option);
WMError err = window->Create(abilityContext, nullptr);