<zhushuanghong4@huawei.com>

Signed-off-by: zwx1076720 <zhushuanghong4@huawei.com>
This commit is contained in:
zwx1076720 2023-07-27 08:43:07 +08:00
parent 83f00962a1
commit 2bb838a8ea
2 changed files with 4 additions and 4 deletions

View File

@ -73,8 +73,8 @@ export default class MainAbility extends Ability {
onContinue(wantParams) {
console.log('onContinue');
console.info(`onContinue version = ${wantParams.version}, targetDevice: ${wantParams.targetDevice}`);
wantParams['ohos.extra.param.key.supportContinueSourceExit'] = false;
wantParams['ohos.extra.param.key.supportContinuePageStack'] = false;
wantParams[wantConstant.Params.SUPPORT_CONTINUE_PAGE_STACK_KEY] = false;
wantParams[wantConstant.Params.SUPPORT_CONTINUE_SOURCE_EXIT_KEY] = false;
return AbilityConstant.OnContinueResult.AGREE;
}
};

View File

@ -82,8 +82,8 @@ export default class MainAbility extends Ability {
onContinue(wantParams) {
console.log('onContinue');
console.info(`onContinue version = ${wantParams.version}, targetDevice: ${wantParams.targetDevice}`);
wantParams['ohos.extra.param.key.supportContinueSourceExit'] = false;
wantParams['ohos.extra.param.key.supportContinuePageStack'] = false;
wantParams[wantConstant.Params.SUPPORT_CONTINUE_PAGE_STACK_KEY] = false;
wantParams[wantConstant.Params.SUPPORT_CONTINUE_SOURCE_EXIT_KEY] = false;
return AbilityConstant.OnContinueResult.AGREE;
}
};