!729 修改xml为json文件

Merge pull request !729 from wangdantong/master
This commit is contained in:
openharmony_ci 2023-05-25 06:34:38 +00:00 committed by Gitee
commit 7dd984802f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 15 additions and 27 deletions

View File

@ -8,7 +8,7 @@
],
"services" : [{
"name" : "inputmethod_service",
"path" : ["/system/bin/sa_main", "/system/profile/inputmethod_service.xml"],
"path" : ["/system/bin/sa_main", "/system/profile/inputmethod_service.json"],
"uid" : "inputmethod",
"gid" : ["inputmethod", "shell"],
"permission" : ["ohos.permission.INPUT_MONITORING", "ohos.permission.MANAGE_USERS permission"],

View File

@ -13,7 +13,7 @@
on boot
start inputmethod_service
service inputmethod_service /system/bin/sa_main /system/profile/inputmethod_service.xml
service inputmethod_service /system/bin/sa_main /system/profile/inputmethod_service.json
class z_core
user system
group system shell

12
profile/3703.json Normal file
View File

@ -0,0 +1,12 @@
{
"process": "inputmethod_service",
"systemability": [
{
"name": 3703,
"libpath": "libinputmethod_service.z.so",
"run-on-create": true,
"distributed": false,
"dump_level": 1
}
]
}

View File

@ -1,24 +0,0 @@
<?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>inputmethod_service</process>
<systemability>
<name>3703</name>
<libpath>libinputmethod_service.z.so</libpath>
<run-on-create>true</run-on-create>
<distributed>false</distributed>
<dump-level>1</dump-level>
</systemability>
</info>

View File

@ -14,6 +14,6 @@
import("//build/ohos/sa_profile/sa_profile.gni")
ohos_sa_profile("inputmethod_inputmethod_sa_profiles") {
sources = [ "3703.xml" ]
sources = [ "3703.json" ]
part_name = "imf"
}