• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2022 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19          package="com.android.apps.inputmethod.simpleime">
20
21    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
22
23    <!-- Enable writing output of DumpOnFailure to external storage -->
24    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
25
26    <application android:debuggable="true"
27                 android:label="@string/app_name">
28        <service
29            android:name="com.android.apps.inputmethod.simpleime.SimpleInputMethodService"
30            android:label="@string/app_name"
31            android:directBootAware="true"
32            android:permission="android.permission.BIND_INPUT_METHOD"
33            android:exported="true">
34
35            <meta-data
36                android:name="android.view.im"
37                android:resource="@xml/method"/>
38
39            <intent-filter>
40                <action android:name="android.view.InputMethod"/>
41            </intent-filter>
42        </service>
43
44        <!-- This is for test only. -->
45        <activity android:name="com.android.apps.inputmethod.simpleime.testing.TestActivity"
46                  android:exported="false"
47                  android:label="TestActivity"
48                  android:configChanges="assetsPaths"
49                  android:launchMode="singleInstance"
50                  android:excludeFromRecents="true"
51                  android:noHistory="true"
52                  android:taskAffinity="">
53            <intent-filter>
54                <action android:name="android.intent.action.MAIN" />
55            </intent-filter>
56        </activity>
57    </application>
58</manifest>