提交 edfbb2f4 编写于 作者: W wangdantong

modify code

Signed-off-by: Nwangdantong <wangdantong@huawei.com>
Change-Id: I39f3ce4465074a6bc423dab100ba08128bdd83f4
上级 04961564
......@@ -16,7 +16,7 @@ if (!defined(ohos_lite)) {
import("//build/ohos/sa_profile/sa_profile.gni")
ohos_sa_profile("device_info_profile") {
sources = [ "etc/3902.xml" ]
sources = [ "etc/3902.json" ]
part_name = "init"
}
......
{
"process": "deviceinfoservice",
"systemability": [
{
"name": 3902,
"libpath": "libdeviceinfoservice.z.so",
"run-on-create": true,
"distributed": false,
"dump_level": 1
}
]
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2021 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>deviceinfoservice</process>
<systemability>
<name>3902</name>
<libpath>libdeviceinfoservice.z.so</libpath>
<run-on-create>true</run-on-create>
<distributed>false</distributed>
<dump-level>1</dump-level>
</systemability>
</info>
\ No newline at end of file
{
"services" : [{
"name" : "deviceinfoservice",
"path" : ["/system/bin/sa_main", "/system/profile/deviceinfoservice.xml"],
"path" : ["/system/bin/sa_main", "/system/profile/deviceinfoservice.json"],
"uid" : "deviceinfo",
"gid" : ["deviceinfo", "shell"],
"ondemand" : true,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册