update services/dtbschedmgr/src/distributed_sched_proxy.cpp.

Signed-off-by: NEEN <qianli16@huawei.com>
This commit is contained in:
ql 2021-08-12 01:47:42 +00:00 committed by Gitee
parent 8d5613e175
commit 7cdcdb0639

View File

@ -47,7 +47,7 @@ int32_t DistributedSchedProxy::StartRemoteAbility(const OHOS::AAFwk::Want& userW
int32_t DistributedSchedProxy::StartAbilityFromRemote(const OHOS::AAFwk::Want& userWant,
const OHOS::AppExecFwk::AbilityInfo& abilityInfo, int32_t requestCode,
const AAFwk::CallerInfo& callerInfo, const AccountInfo& accountInfo)
const CallerInfo& callerInfo, const AccountInfo& accountInfo)
{
sptr<IRemoteObject> remote = Remote();
if (remote == nullptr) {
@ -60,7 +60,6 @@ int32_t DistributedSchedProxy::StartAbilityFromRemote(const OHOS::AAFwk::Want& u
PARCEL_WRITE_HELPER(data, Parcelable, &userWant);
PARCEL_WRITE_HELPER(data, Parcelable, &abilityInfo);
PARCEL_WRITE_HELPER(data, Int32, requestCode);
PARCEL_WRITE_HELPER(data, Parcelable, &callerInfo);
MessageParcel reply;
PARCEL_TRANSACT_SYNC_RET_INT(remote, START_ABILITY_FROM_REMOTE, data, reply);
}