mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-27 00:20:44 +00:00
Merge branch 'master' of https://gitee.com/gritking/ability_dmsfwk
Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
commit
81b8bb3f16
@ -52,6 +52,7 @@ public:
|
||||
std::string destBundleName_ = "";
|
||||
std::string destModuleName_ = "";
|
||||
std::string destAbilityName_ = "";
|
||||
std::string developerId_ = "";
|
||||
DSchedEventType dSchedEventType_ = DMS_UNKNOW;
|
||||
DSchedEventState state_ = DMS_DSCHED_EVENT_INIT;
|
||||
};
|
||||
|
@ -45,6 +45,7 @@ struct ContinueEventInfo {
|
||||
std::string bundleName;
|
||||
std::string moduleName;
|
||||
std::string abilityName;
|
||||
std::string developerId;
|
||||
};
|
||||
|
||||
class DmsBmStorage {
|
||||
|
@ -281,6 +281,7 @@ int32_t DSchedContinuation::NotifyDSchedEventForOneCB(const sptr<IRemoteObject>
|
||||
PARCEL_WRITE_HELPER_RET(data, String, continueEvent_.destBundleName_, SEND_REQUEST_DEF_FAIL);
|
||||
PARCEL_WRITE_HELPER_RET(data, String, continueEvent_.destModuleName_, SEND_REQUEST_DEF_FAIL);
|
||||
PARCEL_WRITE_HELPER_RET(data, String, continueEvent_.destAbilityName_, SEND_REQUEST_DEF_FAIL);
|
||||
PARCEL_WRITE_HELPER_RET(data, String, continueEvent_.developerId_, SEND_REQUEST_DEF_FAIL);
|
||||
PARCEL_WRITE_HELPER_RET(data, Int32, continueEvent_.dSchedEventType_, SEND_REQUEST_DEF_FAIL);
|
||||
PARCEL_WRITE_HELPER_RET(data, Int32, continueEvent_.state_, SEND_REQUEST_DEF_FAIL);
|
||||
|
||||
|
@ -1115,6 +1115,7 @@ bool DmsBmStorage::GetContinueEventInfo(const std::string &networkId, const std:
|
||||
HILOGI("value: %{public}s", value.c_str());
|
||||
continueEventInfo.networkId = networkId;
|
||||
continueEventInfo.bundleName = bundleName;
|
||||
continueEventInfo.developerId = distributedBundleInfo.developerId;
|
||||
continueEventInfo.abilityName = FindAbilityName(distributedBundleInfo, continueType);
|
||||
continueEventInfo.moduleName = FindModuleName(distributedBundleInfo, continueType);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user