mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-27 00:20:44 +00:00
commit
2f7101e83a
@ -27,6 +27,7 @@ config("distributed_sched_config") {
|
||||
"include",
|
||||
"${communication_path}/dsoftbus/dsoftbus_enhance/interfaces/kits/broadcast",
|
||||
"${communication_path}/dsoftbus/interfaces/kits/common",
|
||||
"${dms_path}/interfaces/kits/napi/include",
|
||||
"include/distributedWant",
|
||||
]
|
||||
defines = []
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "mission/distributed_sched_mission_manager.h"
|
||||
#include "mission/mission_info_converter.h"
|
||||
#include "mission/snapshot_converter.h"
|
||||
#include "napi_error_code.h"
|
||||
#endif
|
||||
#include "ipc_skeleton.h"
|
||||
#include "message_parcel.h"
|
||||
@ -444,7 +445,7 @@ int32_t DistributedSchedStub::StartContinuationInner(MessageParcel& data, Messag
|
||||
if (DistributedSchedPermission::GetInstance().CheckPermission(accessToken,
|
||||
PERMISSION_DISTRIBUTED_DATASYNC) != ERR_OK) {
|
||||
HILOGE("check data_sync permission failed!");
|
||||
StartContinuation(*want, missionId, callerUid, DMS_PERMISSION_DENIED, accessToken);
|
||||
StartContinuation(*want, missionId, callerUid, DistributedSchedule::PERMISSION_DENIED, accessToken);
|
||||
return DMS_PERMISSION_DENIED;
|
||||
}
|
||||
DistributedSchedPermission::GetInstance().MarkUriPermission(*want, accessToken);
|
||||
|
Loading…
Reference in New Issue
Block a user