modify code

Signed-off-by: wangdantong <wangdantong@huawei.com>
Change-Id: I3ddc45fe2544bf4ba7977258a08e90295a3989b0
This commit is contained in:
wangdantong 2023-05-23 06:35:03 +00:00
parent 0510132e46
commit 4c76a172dd
3 changed files with 12 additions and 24 deletions

11
sa_profile/1404.json Normal file
View File

@ -0,0 +1,11 @@
{
"process": "foundation",
"systemability": [
{
"name": 1404,
"libpath": "libdistributed_ability_manager_svr.z.so",
"run-on-create": true,
"distributed": false
}
]
}

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2023 Huawei Device Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<info>
<process>foundation</process>
<systemability> <!--Declare a system ability and its profile-->
<name>1404</name> <!--Declare the name of system ability-->
<libpath>libdistributed_ability_manager_svr.z.so</libpath> <!--Declare the path of .so file which includes the system ability; Note: 1 .so file have 1 to N sysytem abilities. -->
<run-on-create>true</run-on-create> <!-- "true" means the system ability would start imediately, "false" means the system ability would start on demand. -->
<distributed>false</distributed> <!-- "true" means the system ability supports distributed scheduling while "false" is not.-->
</systemability>
</info>

View File

@ -16,7 +16,7 @@ import("//build/ohos/sa_profile/sa_profile.gni")
ohos_sa_profile("dms_sa_profile") {
sources = [
"1401.json",
"1404.xml",
"1404.json",
]
part_name = "dmsfwk"
}