1c29fa5a6Sopenharmony_ci# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
2c29fa5a6Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3c29fa5a6Sopenharmony_ci# you may not use this file except in compliance with the License.
4c29fa5a6Sopenharmony_ci# You may obtain a copy of the License at
5c29fa5a6Sopenharmony_ci#
6c29fa5a6Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7c29fa5a6Sopenharmony_ci#
8c29fa5a6Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9c29fa5a6Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10c29fa5a6Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11c29fa5a6Sopenharmony_ci# See the License for the specific language governing permissions and
12c29fa5a6Sopenharmony_ci# limitations under the License.
13c29fa5a6Sopenharmony_ci
14c29fa5a6Sopenharmony_ciservice mmi_uinput_service /system/bin/uinput_inject
15c29fa5a6Sopenharmony_ci    class mmi_uinput
16c29fa5a6Sopenharmony_ci    user root
17c29fa5a6Sopenharmony_ci    group system shell uhid
18c29fa5a6Sopenharmony_ci    seclabel u:r:uinput_inject:s0
19c29fa5a6Sopenharmony_ci
20c29fa5a6Sopenharmony_cion property:init.svc.udevd_service=running
21c29fa5a6Sopenharmony_ci    start mmi_uinput_service
22