mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 06:50:40 +00:00
Modify set window type
Signed-off-by: 刘艺薇 <liuyiwei16@huawei.com>
This commit is contained in:
parent
22551aa5da
commit
f211887025
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user