mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 06:50:40 +00:00
提供销毁应用后返回到拉起方任务接口
Signed-off-by: hubijie <hubijie@huawei.com>
This commit is contained in:
parent
e967bcff1c
commit
e235a2a3c6
@ -36,7 +36,7 @@ public:
|
||||
MOCK_METHOD1(ClearMainSessions, WMError(const std::vector<int32_t>& persistentIds));
|
||||
MOCK_METHOD2(ClearMainSessions, WMError(const std::vector<int32_t>& persistentIds,
|
||||
std::vector<int32_t>& clearFailedIds));
|
||||
MOCK_METHOD1(TerminateSessionByPersistentId, WMError(int32_t persistentIds));
|
||||
MOCK_METHOD1(TerminateSessionByPersistentId, WMError(int32_t persistentId));
|
||||
};
|
||||
}
|
||||
} // namespace OHOS
|
||||
|
@ -1375,7 +1375,7 @@ void Session::SetUpdateSessionIconListener(const NofitySessionIconUpdatedFunc &f
|
||||
|
||||
WSError Session::Clear(bool needStartCaller)
|
||||
{
|
||||
TLOGI(WmsLogTag::WMS_LIFE, "id: %{public}d, needStartCaller:%{public}u", GetPersistentId(), needStartCaller);
|
||||
TLOGI(WmsLogTag::WMS_LIFE, "id:%{public}d, needStartCaller:%{public}u", GetPersistentId(), needStartCaller);
|
||||
auto task = [this, needStartCaller]() {
|
||||
isTerminating = true;
|
||||
SessionInfo info = GetSessionInfo();
|
||||
|
Loading…
Reference in New Issue
Block a user