访问控制列表添加MANAGE_WIFI_CONNECTION权限

Signed-off-by: liuhongjie <liuhongjie3@huawei.com>
This commit is contained in:
liuhongjie 2024-07-11 19:28:28 +08:00
parent 5b8e8999fc
commit e0e93ef510
2 changed files with 1 additions and 1 deletions

View File

@ -32,6 +32,7 @@
"permission_acls" : [
"ohos.permission.INPUT_MONITORING",
"ohos.permission.MANAGE_MISSIONS",
"ohos.permission.MANAGE_WIFI_CONNECTION",
"ohos.permission.MONITOR_DEVICE_NETWORK_STATE",
"ohos.permission.START_INVISIBLE_ABILITY"
],

View File

@ -292,7 +292,6 @@ bool DistributedSchedService::Init()
#ifdef SUPPORT_DISTRIBUTED_MISSION_MANAGER
if (!AddSystemAbilityListener(WINDOW_MANAGER_SERVICE_ID)) {
HILOGE("Add System Ability Listener failed!");
return false;
}
DistributedSchedMissionManager::GetInstance().Init();
DistributedSchedMissionManager::GetInstance().InitDataStorage();