mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-26 16:40:56 +00:00
bugfixes
Signed-off-by: yu <zhangyusi3@huawei.com> Change-Id: I18d1293267da909e153aa342b53674a8975204be
This commit is contained in:
parent
e77cf5e119
commit
34fdfe17a2
@ -113,7 +113,8 @@ private:
|
||||
WSRect virtualArrangedRect_;
|
||||
|
||||
void ExecuteFoldScreenStatusChangeCallbacks(DisplayId displayId,
|
||||
SuperFoldStatus status, SuperFoldStatus prevStatus); std::mutex callbackMutex_;
|
||||
SuperFoldStatus status, SuperFoldStatus prevStatus);
|
||||
std::mutex callbackMutex_;
|
||||
std::unordered_map<int32_t, std::weak_ptr<FoldScreenStatusChangeCallback>> foldScreenStatusChangeCallbacks_;
|
||||
};
|
||||
|
||||
|
@ -181,7 +181,6 @@ public:
|
||||
|
||||
WSError UpdateActiveStatus(bool isActive) override;
|
||||
WSError OnSessionEvent(SessionEvent event) override;
|
||||
void UpdateWaterfallMode(SessionEvent event);
|
||||
WSError OnSessionEvent(SessionEvent event, const SessionEventParam& param);
|
||||
WSError SyncSessionEvent(SessionEvent event) override;
|
||||
WSError OnLayoutFullScreenChange(bool isLayoutFullScreen) override;
|
||||
@ -635,6 +634,7 @@ protected:
|
||||
* PC Fold Screen
|
||||
*/
|
||||
bool IsFullScreenWaterfallMode();
|
||||
void UpdateWaterfallMode(SessionEvent event);
|
||||
sptr<PcFoldScreenController> pcFoldScreenController_ = nullptr;
|
||||
std::atomic_bool throwSlipFullScreenFlag_ = false;
|
||||
|
||||
|
@ -529,8 +529,7 @@ void PcFoldScreenController::UpdateFullScreenWaterfallMode(bool isWaterfallMode)
|
||||
}
|
||||
controller->isFullScreenWaterfallMode_ = isWaterfallMode;
|
||||
controller->ExecuteFullScreenWaterfallModeChangeCallback();
|
||||
},
|
||||
__func__);
|
||||
}, __func__);
|
||||
}
|
||||
|
||||
void PcFoldScreenController::RegisterFullScreenWaterfallModeChangeCallback(
|
||||
|
@ -4052,8 +4052,7 @@ void SceneSession::RegisterFullScreenWaterfallModeChangeCallback(std::function<v
|
||||
return;
|
||||
}
|
||||
session->pcFoldScreenController_->RegisterFullScreenWaterfallModeChangeCallback(std::move(func));
|
||||
},
|
||||
__func__);
|
||||
}, __func__);
|
||||
}
|
||||
|
||||
void SceneSession::SetSessionChangeByActionNotifyManagerListener(const SessionChangeByActionNotifyManagerFunc& func)
|
||||
|
Loading…
Reference in New Issue
Block a user