mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-22 22:30:31 +00:00
modify code
Signed-off-by: wangdantong <wangdantong@huawei.com> Change-Id: I381e702c1ee95aa7d188f579857ae88760ab2b8b
This commit is contained in:
parent
6799c86fe4
commit
23affec359
@ -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"],
|
||||
|
@ -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
12
profile/3703.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
@ -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>
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user