mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-27 00:20:44 +00:00
code check
Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
commit
df633f3094
@ -208,7 +208,8 @@ int32_t DSchedContinueManager::ContinueMission(const DSchedContinueInfo& continu
|
||||
#ifdef SUPPORT_DISTRIBUTED_MISSION_MANAGER
|
||||
if (localDevId == srcDeviceId) {
|
||||
int32_t missionId = -1;
|
||||
int32_t ret = DMSContinueSendMgr::GetInstance().GetMissionIdByBundleName(continueInfo.sinkBundleName_, missionId);
|
||||
int32_t ret = DMSContinueSendMgr::GetInstance().GetMissionIdByBundleName(
|
||||
continueInfo.sinkBundleName_, missionId);
|
||||
if (ret != ERR_OK) {
|
||||
HILOGE("get missionId fail, ret %{public}d.", ret);
|
||||
return ret;
|
||||
|
@ -387,7 +387,7 @@ void DMSContinueRecvMgr::PushLatRecvCache(currentIconInfo &lastRecvInfo)
|
||||
}
|
||||
|
||||
void DMSContinueRecvMgr::NotifyRecvBroadcast(const sptr<IRemoteObject>& obj,
|
||||
const currentIconInfo& continueInfo, const int32_t state)
|
||||
const currentIconInfo& continueInfo, const int32_t state)
|
||||
{
|
||||
std::string networkId = continueInfo.senderNetworkId;
|
||||
std::string srcBundleName = continueInfo.sourceBundleName;
|
||||
|
@ -365,7 +365,8 @@ HWTEST_F(DMSContinueManagerTest, testVerifyBroadcastSource001, TestSize.Level3)
|
||||
EXPECT_EQ(ret, ERR_OK);
|
||||
|
||||
state = INACTIVE;
|
||||
ret = DMSContinueRecvMgr::GetInstance().VerifyBroadcastSource(networkId, sourceBundleName, sinkBundleName, continueType, state);
|
||||
ret = DMSContinueRecvMgr::GetInstance().VerifyBroadcastSource(
|
||||
networkId, sourceBundleName, sinkBundleName, continueType, state);
|
||||
EXPECT_EQ(ret, ERR_OK);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user