mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 06:50:40 +00:00
修改检视意见
Signed-off-by: w00845523 <13643413997@163.com>
This commit is contained in:
parent
e1608e2c18
commit
34d7405bf2
@ -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);
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user