• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18        coreApp="true"
19        package="com.android.inputmethod.latin">
20
21    <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17" />
22
23    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
24    <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
25    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
26    <uses-permission android:name="android.permission.READ_CONTACTS" />
27    <uses-permission android:name="android.permission.READ_PROFILE" />
28    <uses-permission android:name="android.permission.READ_USER_DICTIONARY" />
29    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
30    <uses-permission android:name="android.permission.VIBRATE" />
31    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
32    <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" />
33
34    <application android:label="@string/english_ime_name"
35            android:icon="@mipmap/ic_launcher_keyboard"
36            android:killAfterRestore="false"
37            android:supportsRtl="true">
38
39        <service android:name="LatinIME"
40                android:label="@string/english_ime_name"
41                android:permission="android.permission.BIND_INPUT_METHOD">
42            <intent-filter>
43                <action android:name="android.view.InputMethod" />
44            </intent-filter>
45            <meta-data android:name="android.view.im" android:resource="@xml/method" />
46        </service>
47
48        <service android:name=".spellcheck.AndroidSpellCheckerService"
49                 android:label="@string/spell_checker_service_name"
50                 android:permission="android.permission.BIND_TEXT_SERVICE">
51            <intent-filter>
52                <action android:name="android.service.textservice.SpellCheckerService" />
53            </intent-filter>
54            <meta-data android:name="android.view.textservice.scs" android:resource="@xml/spellchecker" />
55        </service>
56
57        <activity android:name=".setup.SetupActivity"
58                android:label="@string/english_ime_name"
59                android:icon="@mipmap/ic_launcher_keyboard"
60                android:launchMode="singleTask"
61                android:noHistory="true">
62            <intent-filter>
63                <action android:name="android.intent.action.MAIN" />
64                <category android:name="android.intent.category.LAUNCHER" />
65            </intent-filter>
66        </activity>
67
68        <activity android:name=".setup.SetupWizardActivity"
69                android:label="@string/english_ime_name"
70                android:clearTaskOnLaunch="true">
71            <intent-filter>
72                <action android:name="android.intent.action.MAIN" />
73            </intent-filter>
74        </activity>
75
76        <receiver android:name=".setup.LauncherIconVisibilityManager">
77            <intent-filter>
78                <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
79                <action android:name="android.intent.action.BOOT_COMPLETED" />
80                <action android:name="android.intent.action.USER_INITIALIZE" />
81            </intent-filter>
82        </receiver>
83
84        <activity android:name="SettingsActivity" android:label="@string/english_ime_settings"
85                  android:uiOptions="splitActionBarWhenNarrow">
86            <intent-filter>
87                <action android:name="android.intent.action.MAIN" />
88            </intent-filter>
89        </activity>
90
91        <activity android:name="com.android.inputmethod.latin.spellcheck.SpellCheckerSettingsActivity"
92                  android:label="@string/android_spell_checker_settings">
93            <intent-filter>
94                <action android:name="android.intent.action.MAIN" />
95            </intent-filter>
96        </activity>
97
98        <activity android:name="DebugSettingsActivity" android:label="@string/english_ime_debug_settings">
99            <intent-filter>
100                <action android:name="android.intent.action.MAIN" />
101            </intent-filter>
102        </activity>
103
104        <receiver android:name="SuggestionSpanPickedNotificationReceiver" android:enabled="true">
105            <intent-filter>
106                <action android:name="android.text.style.SUGGESTION_PICKED" />
107            </intent-filter>
108        </receiver>
109
110        <receiver android:name=".DictionaryPackInstallBroadcastReceiver">
111            <intent-filter>
112                <action android:name="com.android.inputmethod.dictionarypack.UNKNOWN_CLIENT" />
113            </intent-filter>
114        </receiver>
115
116        <provider android:name="com.android.inputmethod.dictionarypack.DictionaryProvider"
117                  android:grantUriPermissions="true"
118                  android:exported="false"
119                  android:authorities="@string/authority"
120                  android:multiprocess="false"
121                  android:label="@string/dictionary_provider_name">
122        </provider>
123
124        <service android:name="com.android.inputmethod.dictionarypack.DictionaryService"
125                 android:label="@string/dictionary_service_name">
126        </service>
127
128        <receiver android:name="com.android.inputmethod.dictionarypack.EventHandler">
129            <intent-filter>
130                <action android:name="android.intent.action.DOWNLOAD_COMPLETE" />
131                <action android:name="android.intent.action.DATE_CHANGED" />
132                <action android:name="com.android.inputmethod.latin.dictionarypack.UPDATE_NOW" />
133            </intent-filter>
134        </receiver>
135
136        <activity android:name="com.android.inputmethod.dictionarypack.DictionarySettingsActivity"
137                  android:label="@string/dictionary_settings_title"
138                  android:theme="@android:style/Theme.Holo"
139                  android:uiOptions="splitActionBarWhenNarrow">
140            <intent-filter>
141                <action android:name="android.intent.action.MAIN"/>
142            </intent-filter>
143        </activity>
144
145        <activity android:name="com.android.inputmethod.dictionarypack.DownloadOverMeteredDialog"
146                  android:label="@string/dictionary_install_over_metered_network_prompt"
147                  android:theme="@android:style/Theme.Holo">
148            <intent-filter>
149                <action android:name="android.intent.action.MAIN"/>
150            </intent-filter>
151        </activity>
152    </application>
153</manifest>
154