mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2025-02-17 06:56:24 +00:00
fix xts crash
Signed-off-by: lzr <liuzengrui1@huawei.com>
This commit is contained in:
parent
ae299e5551
commit
2b07d2723d
@ -244,6 +244,7 @@ void AceAbility::OnStart(const Want& want, sptr<AAFwk::SessionInfo> sessionInfo)
|
||||
"and apiReleaseType: %{public}s, useNewPipe: %{public}d",
|
||||
apiCompatibleVersion, apiTargetVersion, apiReleaseType.c_str(), useNewPipe);
|
||||
OHOS::sptr<OHOS::Rosen::Window> window = Ability::GetWindow();
|
||||
CHECK_NULL_VOID(window);
|
||||
std::shared_ptr<AceAbility> self = std::static_pointer_cast<AceAbility>(shared_from_this());
|
||||
OHOS::sptr<AceWindowListener> aceWindowListener = new AceWindowListener(self);
|
||||
// register surface change callback and window mode change callback
|
||||
|
Loading…
x
Reference in New Issue
Block a user