mirror of
https://gitee.com/openharmony/xts_dcts
synced 2024-11-23 07:39:59 +00:00
<zhushuanghong4@huawei.com>
Signed-off-by: zwx1076720 <zhushuanghong4@huawei.com>
This commit is contained in:
parent
83f00962a1
commit
2bb838a8ea
@ -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;
|
||||
}
|
||||
};
|
||||
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user