From 95e6ac58adaa9de96bb9107d77f48de63081ba4b Mon Sep 17 00:00:00 2001 From: zhoujun62 Date: Fri, 26 Aug 2022 17:10:09 +0800 Subject: [PATCH] solve ActsFreeInstallStartAbilityForResultStageTest problem Signed-off-by: zhoujun62 --- .../entry/src/main/ets/MainAbility/MainAbility.ts | 1 - .../entry/src/main/ets/MainAbility/MainAbility.ts | 1 - .../entry/src/main/ets/MainAbility/MainAbility.ts | 1 - .../entry/src/main/ets/MainAbility1/MainAbility1.ts | 1 - 4 files changed, 4 deletions(-) diff --git a/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstageentry/entry/src/main/ets/MainAbility/MainAbility.ts b/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstageentry/entry/src/main/ets/MainAbility/MainAbility.ts index fb41b8203..6a7c9df68 100644 --- a/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstageentry/entry/src/main/ets/MainAbility/MainAbility.ts +++ b/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstageentry/entry/src/main/ets/MainAbility/MainAbility.ts @@ -52,7 +52,6 @@ export default class MainAbility extends Ability { }, } ); - globalThis.abilityContext.terminateSelf(); console.info('fAStartAbilityForResultPromise terminateSelfWithResult END'); }, 1000); } diff --git a/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstagehm2/entry/src/main/ets/MainAbility/MainAbility.ts b/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstagehm2/entry/src/main/ets/MainAbility/MainAbility.ts index 1d022ce9f..4efeca31a 100644 --- a/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstagehm2/entry/src/main/ets/MainAbility/MainAbility.ts +++ b/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstagehm2/entry/src/main/ets/MainAbility/MainAbility.ts @@ -52,7 +52,6 @@ export default class MainAbility extends Ability { }, } ); - globalThis.abilityContext.terminateSelf(); console.info('fAStartAbilityForResultPromise terminateSelfWithResult END'); }, 1000); } diff --git a/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstagehnm2/entry/src/main/ets/MainAbility/MainAbility.ts b/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstagehnm2/entry/src/main/ets/MainAbility/MainAbility.ts index 1d022ce9f..4efeca31a 100644 --- a/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstagehnm2/entry/src/main/ets/MainAbility/MainAbility.ts +++ b/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/atomizationresultstagehnm2/entry/src/main/ets/MainAbility/MainAbility.ts @@ -52,7 +52,6 @@ export default class MainAbility extends Ability { }, } ); - globalThis.abilityContext.terminateSelf(); console.info('fAStartAbilityForResultPromise terminateSelfWithResult END'); }, 1000); } diff --git a/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/stageresultmyapplication1/entry/src/main/ets/MainAbility1/MainAbility1.ts b/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/stageresultmyapplication1/entry/src/main/ets/MainAbility1/MainAbility1.ts index af7509fe3..1031a55f5 100644 --- a/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/stageresultmyapplication1/entry/src/main/ets/MainAbility1/MainAbility1.ts +++ b/ability/ability_runtime/freeinstalltest/startabilityforresultstagetest/stageresultmyapplication1/entry/src/main/ets/MainAbility1/MainAbility1.ts @@ -52,7 +52,6 @@ export default class MainAbility1 extends Ability { }, } ); - globalThis.abilityContext.terminateSelf(); console.info('fAStartAbilityForResultPromise terminateSelfWithResult END'); }, 1000); } -- GitLab