!125 修改任务变化回调bug

Merge pull request !125 from zhangfan/aa
This commit is contained in:
openharmony_ci 2022-01-26 05:13:58 +00:00 committed by Gitee
commit 3a78ceba39
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -22,12 +22,12 @@
namespace OHOS {
namespace DistributedSchedule {
namespace {
constexpr int32_t CODE_NOTIFY_MISSION = 1;
constexpr int32_t NOTIFY_SNAP_SHOT = 2;
constexpr int32_t NOTIFY_NET_DISCONNECT = 3;
constexpr int32_t CODE_NOTIFY_MISSION = 0;
constexpr int32_t NOTIFY_SNAP_SHOT = 1;
constexpr int32_t NOTIFY_NET_DISCONNECT = 2;
constexpr int32_t CODE_NOTIFY_SWITCH = 4;
const std::u16string DESCRIPTOR = u"ohos.distributedschedule.dmissionmanagerkit.IDistributedMissionChangedListener";
const std::u16string DESCRIPTOR = u"ohos.aafwk.RemoteMissionListener";
const std::string TAG = "MissionChangedNotify";
}
void MissionChangedNotify::NotifyMissionsChanged(const sptr<IRemoteObject>& remoteObject,