blob: ee1cef6b59e6a5af581f84e33571709dc17238df [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" />
Sandeep Siddharthad0a14422014-09-25 10:30:31 -070028 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
29 <uses-permission android:name="android.permission.READ_SYNC_STATS" />
Satoshi Kataoka492557e2013-05-01 15:52:08 +090030 <uses-permission android:name="android.permission.READ_USER_DICTIONARY" />
31 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Sandeep Siddharthad0a14422014-09-25 10:30:31 -070032 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
Satoshi Kataoka492557e2013-05-01 15:52:08 +090033 <uses-permission android:name="android.permission.VIBRATE" />
34 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Sandeep Siddharthad0a14422014-09-25 10:30:31 -070035 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
Satoshi Kataoka492557e2013-05-01 15:52:08 +090036 <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" />
The Android Open Source Project923bf412009-03-13 15:11:42 -070037
Tadashi G. Takaoka842e2452013-04-26 14:01:41 +090038 <application android:label="@string/english_ime_name"
Ken Wakasa2fa36932013-12-13 17:09:16 +090039 android:icon="@drawable/ic_launcher_keyboard"
Tadashi G. Takaokab8afd542012-07-31 14:44:16 +090040 android:killAfterRestore="false"
Jean Chalardb11339b2014-01-08 16:52:04 +090041 android:supportsRtl="true"
42 android:allowBackup="true">
Jeff Hamilton43d34da2009-05-08 18:57:10 -070043
Sandeep Siddharthad4aec652014-09-22 16:45:05 -070044 <!-- Services -->
The Android Open Source Project923bf412009-03-13 15:11:42 -070045 <service android:name="LatinIME"
Tadashi G. Takaoka842e2452013-04-26 14:01:41 +090046 android:label="@string/english_ime_name"
The Android Open Source Project923bf412009-03-13 15:11:42 -070047 android:permission="android.permission.BIND_INPUT_METHOD">
48 <intent-filter>
49 <action android:name="android.view.InputMethod" />
50 </intent-filter>
51 <meta-data android:name="android.view.im" android:resource="@xml/method" />
52 </service>
Doug Zongker4fc01932010-01-27 14:32:42 -080053
satokc2b6a352011-08-08 19:16:20 +090054 <service android:name=".spellcheck.AndroidSpellCheckerService"
Tadashi G. Takaoka842e2452013-04-26 14:01:41 +090055 android:label="@string/spell_checker_service_name"
satokc2b6a352011-08-08 19:16:20 +090056 android:permission="android.permission.BIND_TEXT_SERVICE">
57 <intent-filter>
58 <action android:name="android.service.textservice.SpellCheckerService" />
59 </intent-filter>
Ken Wakasaa7d2fc62013-07-22 12:43:37 +090060 <meta-data android:name="android.view.textservice.scs"
61 android:resource="@xml/spellchecker" />
satokc2b6a352011-08-08 19:16:20 +090062 </service>
Jean Chalard31fd54c2011-08-12 17:18:32 +090063
Sandeep Siddharthad4aec652014-09-22 16:45:05 -070064 <service android:name="com.android.inputmethod.dictionarypack.DictionaryService"
65 android:label="@string/dictionary_service_name">
66 </service>
67
68 <!-- Activities -->
Tadashi G. Takaokacb0beaf2013-02-14 15:01:53 +090069 <activity android:name=".setup.SetupActivity"
Tadashi G. Takaoka9b46ddc2014-04-04 14:14:47 +090070 android:theme="@style/platformActivityTheme"
Tadashi G. Takaoka842e2452013-04-26 14:01:41 +090071 android:label="@string/english_ime_name"
Ken Wakasa2fa36932013-12-13 17:09:16 +090072 android:icon="@drawable/ic_launcher_keyboard"
Tadashi G. Takaoka2b5c9722013-05-09 13:14:18 +090073 android:launchMode="singleTask"
74 android:noHistory="true">
Tadashi G. Takaokacb0beaf2013-02-14 15:01:53 +090075 <intent-filter>
76 <action android:name="android.intent.action.MAIN" />
Tadashi G. Takaoka1ffdaaf2013-02-26 17:56:54 +090077 <category android:name="android.intent.category.LAUNCHER" />
Tadashi G. Takaokacb0beaf2013-02-14 15:01:53 +090078 </intent-filter>
79 </activity>
80
Tadashi G. Takaoka2b5c9722013-05-09 13:14:18 +090081 <activity android:name=".setup.SetupWizardActivity"
Tadashi G. Takaoka9b46ddc2014-04-04 14:14:47 +090082 android:theme="@style/platformActivityTheme"
Tadashi G. Takaoka2b5c9722013-05-09 13:14:18 +090083 android:label="@string/english_ime_name"
84 android:clearTaskOnLaunch="true">
85 <intent-filter>
86 <action android:name="android.intent.action.MAIN" />
87 </intent-filter>
88 </activity>
89
Ken Wakasaa7d2fc62013-07-22 12:43:37 +090090 <activity android:name=".settings.SettingsActivity"
Tadashi G. Takaokade1ab732014-07-17 19:23:35 -070091 android:theme="@style/platformSettingsTheme"
Tadashi G. Takaoka477ee882014-10-06 15:36:34 +090092 android:label="@string/english_ime_settings">
The Android Open Source Project923bf412009-03-13 15:11:42 -070093 <intent-filter>
Tadashi G. Takaokacb0beaf2013-02-14 15:01:53 +090094 <action android:name="android.intent.action.MAIN" />
The Android Open Source Project923bf412009-03-13 15:11:42 -070095 </intent-filter>
Amith Yamasani36fcf252009-10-12 13:48:35 -070096 </activity>
97
Ken Wakasaa7d2fc62013-07-22 12:43:37 +090098 <activity android:name=".spellcheck.SpellCheckerSettingsActivity"
Tadashi G. Takaokade1ab732014-07-17 19:23:35 -070099 android:theme="@style/platformSettingsTheme"
Tadashi G. Takaoka842e2452013-04-26 14:01:41 +0900100 android:label="@string/android_spell_checker_settings">
Jean Chalard31fd54c2011-08-12 17:18:32 +0900101 <intent-filter>
Tadashi G. Takaokacb0beaf2013-02-14 15:01:53 +0900102 <action android:name="android.intent.action.MAIN" />
Jean Chalard31fd54c2011-08-12 17:18:32 +0900103 </intent-filter>
104 </activity>
105
Jean Chalard0cc05442013-03-15 19:00:51 +0900106 <activity android:name="com.android.inputmethod.dictionarypack.DictionarySettingsActivity"
Tadashi G. Takaokade1ab732014-07-17 19:23:35 -0700107 android:theme="@style/platformSettingsTheme"
Ken Wakasaa7d2fc62013-07-22 12:43:37 +0900108 android:label="@string/dictionary_settings_title"
Ken Wakasaa7d2fc62013-07-22 12:43:37 +0900109 android:uiOptions="splitActionBarWhenNarrow">
Jean Chalard0cc05442013-03-15 19:00:51 +0900110 <intent-filter>
111 <action android:name="android.intent.action.MAIN"/>
112 </intent-filter>
113 </activity>
114
115 <activity android:name="com.android.inputmethod.dictionarypack.DownloadOverMeteredDialog"
Tadashi G. Takaoka9b46ddc2014-04-04 14:14:47 +0900116 android:theme="@style/platformActivityTheme"
117 android:label="@string/dictionary_install_over_metered_network_prompt">
Jean Chalard0cc05442013-03-15 19:00:51 +0900118 <intent-filter>
119 <action android:name="android.intent.action.MAIN"/>
120 </intent-filter>
121 </activity>
Sandeep Siddhartha84185142014-09-16 15:53:32 -0700122
123 <!-- Unexported activity used for tests. -->
124 <activity android:name=".settings.TestFragmentActivity"
125 android:exported="false" />
Sandeep Siddharthad4aec652014-09-22 16:45:05 -0700126
127 <!-- Broadcast receivers -->
128 <receiver android:name="SystemBroadcastReceiver">
129 <intent-filter>
130 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
131 <action android:name="android.intent.action.BOOT_COMPLETED" />
132 <action android:name="android.intent.action.USER_INITIALIZE" />
133 <action android:name="android.intent.action.LOCALE_CHANGED" />
134 </intent-filter>
135 </receiver>
136
137 <receiver android:name=".personalization.DictionaryDecayBroadcastReciever"
138 android:exported="false">
139 <intent-filter>
140 <action android:name="com.android.inputmethod.latin.personalization.DICT_DECAY" />
141 </intent-filter>
142 </receiver>
143
144 <receiver android:name=".DictionaryPackInstallBroadcastReceiver" android:exported="false">
145 <intent-filter>
146 <action android:name="com.android.inputmethod.dictionarypack.aosp.UNKNOWN_CLIENT" />
147 </intent-filter>
148 </receiver>
149
150 <receiver android:name="SuggestionSpanPickedNotificationReceiver" android:enabled="true">
151 <intent-filter>
152 <action android:name="android.text.style.SUGGESTION_PICKED" />
153 </intent-filter>
154 </receiver>
155
156 <receiver android:name="com.android.inputmethod.dictionarypack.EventHandler">
157 <intent-filter>
158 <action android:name="android.intent.action.DOWNLOAD_COMPLETE" />
159 <action android:name="android.intent.action.DATE_CHANGED" />
160 <action android:name="com.android.inputmethod.dictionarypack.aosp.UPDATE_NOW" />
161 </intent-filter>
162 </receiver>
163
164 <!-- Broadcast receiver for AccountManager#LOGIN_ACCOUNTS_CHANGED_ACTION. -->
165 <receiver
166 android:name=".accounts.AccountsChangedReceiver">
167 <intent-filter>
168 <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
169 </intent-filter>
170 </receiver>
171
172 <!-- Content providers -->
173 <provider android:name="com.android.inputmethod.dictionarypack.DictionaryProvider"
174 android:grantUriPermissions="true"
175 android:exported="false"
176 android:authorities="@string/authority"
177 android:multiprocess="false"
178 android:label="@string/dictionary_provider_name">
179 </provider>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700180 </application>
181</manifest>