mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-27 00:51:35 +00:00
supplement implement for api GetSnapshot in old framework
Signed-off-by: z30052579 <zhonglinjie@huawei.com>
This commit is contained in:
parent
ed67aecdd5
commit
8c4ff185d0
@ -1407,7 +1407,7 @@ std::shared_ptr<Media::PixelMap> WindowManagerService::GetSnapshot(int32_t windo
|
||||
auto task = [this, windowId]() {
|
||||
return windowController_->GetSnapshot(windowId);
|
||||
};
|
||||
return PostSyncTask(tas, "GetSnapshot");
|
||||
return PostSyncTask(task, "GetSnapshot");
|
||||
}
|
||||
|
||||
void WindowManagerService::DispatchKeyEvent(uint32_t windowId, std::shared_ptr<MMI::KeyEvent> event)
|
||||
|
Loading…
Reference in New Issue
Block a user