mirror of
https://gitee.com/openharmony/window_window_manager
synced 2025-02-18 14:59:12 +00:00
update window_scene/session_manager/src/scene_session_manager.cpp.
Signed-off-by: 卢宇豪 <luyuhao6@huawei.com>
This commit is contained in:
parent
d99f258bd3
commit
5e8f19c45f
@ -3760,7 +3760,7 @@ void SceneSessionManager::UpdateForceHideState(const sptr<SceneSession>& sceneSe
|
||||
const sptr<WindowSessionProperty>& property, bool add)
|
||||
{
|
||||
if (systemConfig_.IsPcWindow()) {
|
||||
TLOGI(WmsLogTag::DEFAULT, "IsPcWindow, UpdateForceHideState is ineffective");
|
||||
TLOGI(WmsLogTag::DEFAULT, "IsPcWindow, ineffective");
|
||||
return;
|
||||
}
|
||||
if (property == nullptr) {
|
||||
@ -3793,7 +3793,7 @@ void SceneSessionManager::UpdateForceHideState(const sptr<SceneSession>& sceneSe
|
||||
}
|
||||
if (notifyAll) {
|
||||
bool forceHideFloatNew = !systemTopSceneSessionMap_.empty();
|
||||
for (const auto &item : nonSystemFloatSceneSessionMap_) {
|
||||
for (const auto& item : nonSystemFloatSceneSessionMap_) {
|
||||
auto forceHideSceneSession = item.second;
|
||||
auto forceHideProperty = forceHideSceneSession->GetSessionProperty();
|
||||
if (forceHideProperty && forceHideFloatNew != forceHideProperty->GetForceHide()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user