mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-23 06:20:07 +00:00
commit
9df1479237
@ -928,7 +928,7 @@ int32_t DSchedContinue::StartAbility(const OHOS::AAFwk::Want& want, int32_t requ
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
HILOGI("ExecuteContinueData StartAbility start");
|
HILOGI("ExecuteContinueData StartAbility start, flag is %{public}d", want.GetFlags());
|
||||||
DmsRadar::GetInstance().ClickIconDmsStartAbility("StartAbility", ret);
|
DmsRadar::GetInstance().ClickIconDmsStartAbility("StartAbility", ret);
|
||||||
ret = AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, DEFAULT_REQUEST_CODE, activeAccountId);
|
ret = AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, DEFAULT_REQUEST_CODE, activeAccountId);
|
||||||
if (ret != ERR_OK) {
|
if (ret != ERR_OK) {
|
||||||
|
@ -3027,12 +3027,12 @@ int32_t DistributedSchedService::StartAbility(const OHOS::AAFwk::Want& want, int
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
if (want.GetBoolParam(Want::PARAM_RESV_FOR_RESULT, false)) {
|
if (want.GetBoolParam(Want::PARAM_RESV_FOR_RESULT, false)) {
|
||||||
HILOGI("StartAbilityForResult start");
|
HILOGI("StartAbilityForResult start, flag is %{public}d", want.GetFlags());
|
||||||
sptr<IRemoteObject> dmsTokenCallback = new DmsTokenCallback();
|
sptr<IRemoteObject> dmsTokenCallback = new DmsTokenCallback();
|
||||||
err = AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, dmsTokenCallback, requestCode,
|
err = AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, dmsTokenCallback, requestCode,
|
||||||
activeAccountId);
|
activeAccountId);
|
||||||
} else {
|
} else {
|
||||||
HILOGI("StartAbility start");
|
HILOGI("StartAbility start, flag is %{public}d", want.GetFlags());
|
||||||
if (DmsContinueTime::GetInstance().GetPull()) {
|
if (DmsContinueTime::GetInstance().GetPull()) {
|
||||||
int64_t begin = GetTickCount();
|
int64_t begin = GetTickCount();
|
||||||
DmsContinueTime::GetInstance().SetDurationBegin(DMSDURATION_STARTABILITY, begin);
|
DmsContinueTime::GetInstance().SetDurationBegin(DMSDURATION_STARTABILITY, begin);
|
||||||
|
Loading…
Reference in New Issue
Block a user