blob: 2249be7f4dda48ae7383dc73fca124ad7b9b1538 [file] [log] [blame]
Ken Wakasa1a9ef012012-07-06 20:29:08 +09001<?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
Doug Zongker4fc01932010-01-27 14:32:42 -080017<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Ben Komalofde61492011-09-23 15:10:13 -070018 coreApp="true"
Amith Yamasanib248c2f2010-03-12 16:40:27 -080019 package="com.android.inputmethod.latin">
Jeff Hamiltone11e2832010-02-12 18:55:34 -060020
Ken Wakasaf81baec2014-09-16 20:52:16 +090021 <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
Ken Wakasa85732232012-07-31 15:59:56 +090022
Tadashi G. Takaokacb0beaf2013-02-14 15:01:53 +090023 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Jean Chalard0cc05442013-03-15 19:00:51 +090024 <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
Satoshi Kataoka492557e2013-05-01 15:52:08 +090025 <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" />
The Android Open Source Project923bf412009-03-13 15:11:42 -070033
Tadashi G. Takaoka842e2452013-04-26 14:01:41 +090034 <application android:label="@string/english_ime_name"
Ken Wakasa2fa36932013-12-13 17:09:16 +090035 android:icon="@drawable/ic_launcher_keyboard"
Tadashi G. Takaokab8afd542012-07-31 14:44:16 +090036 android:killAfterRestore="false"
Jean Chalardb11339b2014-01-08 16:52:04 +090037 android:supportsRtl="true"
38 android:allowBackup="true">
Jeff Hamilton43d34da2009-05-08 18:57:10 -070039
Sandeep Siddharthad4aec652014-09-22 16:45:05 -070040 <!-- Services -->
The Android Open Source Project923bf412009-03-13 15:11:42 -070041 <service android:name="LatinIME"
Tadashi G. Takaoka842e2452013-04-26 14:01:41 +090042 android:label="@string/english_ime_name"
The Android Open Source Project923bf412009-03-13 15:11:42 -070043 android:permission="android.permission.BIND_INPUT_METHOD">
44 <intent-filter>
45 <action android:name="android.view.InputMethod" />
46 </intent-filter>
47 <meta-data android:name="android.view.im" android:resource="@xml/method" />
48 </service>
Doug Zongker4fc01932010-01-27 14:32:42 -080049
satokc2b6a352011-08-08 19:16:20 +090050 <service android:name=".spellcheck.AndroidSpellCheckerService"
Tadashi G. Takaoka842e2452013-04-26 14:01:41 +090051 android:label="@string/spell_checker_service_name"
satokc2b6a352011-08-08 19:16:20 +090052 android:permission="android.permission.BIND_TEXT_SERVICE">
53 <intent-filter>
54 <action android:name="android.service.textservice.SpellCheckerService" />
55 </intent-filter>
Ken Wakasaa7d2fc62013-07-22 12:43:37 +090056 <meta-data android:name="android.view.textservice.scs"
57 android:resource="@xml/spellchecker" />
satokc2b6a352011-08-08 19:16:20 +090058 </service>
Jean Chalard31fd54c2011-08-12 17:18:32 +090059
Sandeep Siddharthad4aec652014-09-22 16:45:05 -070060 <service android:name="com.android.inputmethod.dictionarypack.DictionaryService"
61 android:label="@string/dictionary_service_name">
62 </service>
63
64 <!-- Activities -->
Tadashi G. Takaokacb0beaf2013-02-14 15:01:53 +090065 <activity android:name=".setup.SetupActivity"
Tadashi G. Takaoka9b46ddc2014-04-04 14:14:47 +090066 android:theme="@style/platformActivityTheme"
Tadashi G. Takaoka842e2452013-04-26 14:01:41 +090067 android:label="@string/english_ime_name"
Ken Wakasa2fa36932013-12-13 17:09:16 +090068 android:icon="@drawable/ic_launcher_keyboard"
Tadashi G. Takaoka2b5c9722013-05-09 13:14:18 +090069 android:launchMode="singleTask"
70 android:noHistory="true">
Tadashi G. Takaokacb0beaf2013-02-14 15:01:53 +090071 <intent-filter>
72 <action android:name="android.intent.action.MAIN" />
Tadashi G. Takaoka1ffdaaf2013-02-26 17:56:54 +090073 <category android:name="android.intent.category.LAUNCHER" />
Tadashi G. Takaokacb0beaf2013-02-14 15:01:53 +090074 </intent-filter>
75 </activity>
76
Tadashi G. Takaoka2b5c9722013-05-09 13:14:18 +090077 <activity android:name=".setup.SetupWizardActivity"
Tadashi G. Takaoka9b46ddc2014-04-04 14:14:47 +090078 android:theme="@style/platformActivityTheme"
Tadashi G. Takaoka2b5c9722013-05-09 13:14:18 +090079 android:label="@string/english_ime_name"
80 android:clearTaskOnLaunch="true">
81 <intent-filter>
82 <action android:name="android.intent.action.MAIN" />
83 </intent-filter>
84 </activity>
85
Ken Wakasaa7d2fc62013-07-22 12:43:37 +090086 <activity android:name=".settings.SettingsActivity"
Tadashi G. Takaokade1ab732014-07-17 19:23:35 -070087 android:theme="@style/platformSettingsTheme"
Ken Wakasaa7d2fc62013-07-22 12:43:37 +090088 android:label="@string/english_ime_settings"
89 android:uiOptions="splitActionBarWhenNarrow">
The Android Open Source Project923bf412009-03-13 15:11:42 -070090 <intent-filter>
Tadashi G. Takaokacb0beaf2013-02-14 15:01:53 +090091 <action android:name="android.intent.action.MAIN" />
The Android Open Source Project923bf412009-03-13 15:11:42 -070092 </intent-filter>
Amith Yamasani36fcf252009-10-12 13:48:35 -070093 </activity>
94
Ken Wakasaa7d2fc62013-07-22 12:43:37 +090095 <activity android:name=".spellcheck.SpellCheckerSettingsActivity"
Tadashi G. Takaokade1ab732014-07-17 19:23:35 -070096 android:theme="@style/platformSettingsTheme"
Tadashi G. Takaoka842e2452013-04-26 14:01:41 +090097 android:label="@string/android_spell_checker_settings">
Jean Chalard31fd54c2011-08-12 17:18:32 +090098 <intent-filter>
Tadashi G. Takaokacb0beaf2013-02-14 15:01:53 +090099 <action android:name="android.intent.action.MAIN" />
Jean Chalard31fd54c2011-08-12 17:18:32 +0900100 </intent-filter>
101 </activity>
102
Jean Chalard0cc05442013-03-15 19:00:51 +0900103 <activity android:name="com.android.inputmethod.dictionarypack.DictionarySettingsActivity"
Tadashi G. Takaokade1ab732014-07-17 19:23:35 -0700104 android:theme="@style/platformSettingsTheme"
Ken Wakasaa7d2fc62013-07-22 12:43:37 +0900105 android:label="@string/dictionary_settings_title"
Ken Wakasaa7d2fc62013-07-22 12:43:37 +0900106 android:uiOptions="splitActionBarWhenNarrow">
Jean Chalard0cc05442013-03-15 19:00:51 +0900107 <intent-filter>
108 <action android:name="android.intent.action.MAIN"/>
109 </intent-filter>
110 </activity>
111
112 <activity android:name="com.android.inputmethod.dictionarypack.DownloadOverMeteredDialog"
Tadashi G. Takaoka9b46ddc2014-04-04 14:14:47 +0900113 android:theme="@style/platformActivityTheme"
114 android:label="@string/dictionary_install_over_metered_network_prompt">
Jean Chalard0cc05442013-03-15 19:00:51 +0900115 <intent-filter>
116 <action android:name="android.intent.action.MAIN"/>
117 </intent-filter>
118 </activity>
Sandeep Siddhartha84185142014-09-16 15:53:32 -0700119
120 <!-- Unexported activity used for tests. -->
121 <activity android:name=".settings.TestFragmentActivity"
122 android:exported="false" />
Sandeep Siddharthad4aec652014-09-22 16:45:05 -0700123
124 <!-- Broadcast receivers -->
125 <receiver android:name="SystemBroadcastReceiver">
126 <intent-filter>
127 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
128 <action android:name="android.intent.action.BOOT_COMPLETED" />
129 <action android:name="android.intent.action.USER_INITIALIZE" />
130 <action android:name="android.intent.action.LOCALE_CHANGED" />
131 </intent-filter>
132 </receiver>
133
134 <receiver android:name=".personalization.DictionaryDecayBroadcastReciever"
135 android:exported="false">
136 <intent-filter>
137 <action android:name="com.android.inputmethod.latin.personalization.DICT_DECAY" />
138 </intent-filter>
139 </receiver>
140
141 <receiver android:name=".DictionaryPackInstallBroadcastReceiver" android:exported="false">
142 <intent-filter>
143 <action android:name="com.android.inputmethod.dictionarypack.aosp.UNKNOWN_CLIENT" />
144 </intent-filter>
145 </receiver>
146
147 <receiver android:name="SuggestionSpanPickedNotificationReceiver" android:enabled="true">
148 <intent-filter>
149 <action android:name="android.text.style.SUGGESTION_PICKED" />
150 </intent-filter>
151 </receiver>
152
153 <receiver android:name="com.android.inputmethod.dictionarypack.EventHandler">
154 <intent-filter>
155 <action android:name="android.intent.action.DOWNLOAD_COMPLETE" />
156 <action android:name="android.intent.action.DATE_CHANGED" />
157 <action android:name="com.android.inputmethod.dictionarypack.aosp.UPDATE_NOW" />
158 </intent-filter>
159 </receiver>
160
161 <!-- Broadcast receiver for AccountManager#LOGIN_ACCOUNTS_CHANGED_ACTION. -->
162 <receiver
163 android:name=".accounts.AccountsChangedReceiver">
164 <intent-filter>
165 <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
166 </intent-filter>
167 </receiver>
168
169 <!-- Content providers -->
170 <provider android:name="com.android.inputmethod.dictionarypack.DictionaryProvider"
171 android:grantUriPermissions="true"
172 android:exported="false"
173 android:authorities="@string/authority"
174 android:multiprocess="false"
175 android:label="@string/dictionary_provider_name">
176 </provider>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700177 </application>
178</manifest>