supplement implement for api GetSnapshot in old framework

Signed-off-by: z30052579 <zhonglinjie@huawei.com>
This commit is contained in:
z30052579 2024-06-12 10:23:02 +08:00
parent ed67aecdd5
commit 8c4ff185d0

View File

@ -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)