修改检视意见

Signed-off-by: w00845523 <13643413997@163.com>
This commit is contained in:
w00845523 2024-11-21 21:59:33 +08:00
parent e1608e2c18
commit 34d7405bf2
2 changed files with 2 additions and 2 deletions

View File

@ -942,7 +942,7 @@ private:
uint64_t pipWindowSurfaceId_ = 0;
bool CheckPiPPriority(const PiPTemplateInfo& pipTemplateInfo);
bool isEnablePiPCreate(sptr<WindowSessionProperty>& property);
bool IsLastPiPWindowVisible(uint64_t surfaceId, WindowVisibilityState lastVisibilityState);
bool IsLastPiPWindowVisible(uint64_t surfaceId, WindowVisibilityState lastVisibilityState);
void NotifyPiPWindowVisibleChange(bool isScreenLocked);
void DestroySubSession(const sptr<SceneSession>& sceneSession);

View File

@ -2487,7 +2487,7 @@ WSError SceneSessionManager::CreateAndConnectSpecificSession(const sptr<ISession
return WSError::WS_ERROR_NULLPTR;
}
if (property->GetWindowType() == WindowType::WINDOW_TYPE_PIP && !isEnablePiPCreate(property)) {
TLOGNE("pip window is not enable to create.");
TLOGNE(WmsLogTag::WMS_PIP, "pip window is not enable to create.");
return WSError::WS_DO_NOTHING;
}
const auto& type = property->GetWindowType();