Ken Wakasa | 1a9ef01 | 2012-07-06 20:29:08 +0900 | [diff] [blame] | 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 | |
Doug Zongker | 4fc0193 | 2010-01-27 14:32:42 -0800 | [diff] [blame] | 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Ben Komalo | fde6149 | 2011-09-23 15:10:13 -0700 | [diff] [blame] | 18 | coreApp="true" |
Amith Yamasani | b248c2f | 2010-03-12 16:40:27 -0800 | [diff] [blame] | 19 | package="com.android.inputmethod.latin"> |
Jeff Hamilton | e11e283 | 2010-02-12 18:55:34 -0600 | [diff] [blame] | 20 | |
Ken Wakasa | f81baec | 2014-09-16 20:52:16 +0900 | [diff] [blame] | 21 | <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" /> |
Ken Wakasa | 8573223 | 2012-07-31 15:59:56 +0900 | [diff] [blame] | 22 | |
Tadashi G. Takaoka | cb0beaf | 2013-02-14 15:01:53 +0900 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
Jean Chalard | 0cc0544 | 2013-03-15 19:00:51 +0900 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" /> |
Satoshi Kataoka | 492557e | 2013-05-01 15:52:08 +0900 | [diff] [blame] | 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" /> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 33 | |
Tadashi G. Takaoka | 842e245 | 2013-04-26 14:01:41 +0900 | [diff] [blame] | 34 | <application android:label="@string/english_ime_name" |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 35 | android:icon="@drawable/ic_launcher_keyboard" |
Tadashi G. Takaoka | b8afd54 | 2012-07-31 14:44:16 +0900 | [diff] [blame] | 36 | android:killAfterRestore="false" |
Jean Chalard | b11339b | 2014-01-08 16:52:04 +0900 | [diff] [blame] | 37 | android:supportsRtl="true" |
| 38 | android:allowBackup="true"> |
Jeff Hamilton | 43d34da | 2009-05-08 18:57:10 -0700 | [diff] [blame] | 39 | |
Sandeep Siddhartha | d4aec65 | 2014-09-22 16:45:05 -0700 | [diff] [blame^] | 40 | <!-- Services --> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 41 | <service android:name="LatinIME" |
Tadashi G. Takaoka | 842e245 | 2013-04-26 14:01:41 +0900 | [diff] [blame] | 42 | android:label="@string/english_ime_name" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 43 | 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 Zongker | 4fc0193 | 2010-01-27 14:32:42 -0800 | [diff] [blame] | 49 | |
satok | c2b6a35 | 2011-08-08 19:16:20 +0900 | [diff] [blame] | 50 | <service android:name=".spellcheck.AndroidSpellCheckerService" |
Tadashi G. Takaoka | 842e245 | 2013-04-26 14:01:41 +0900 | [diff] [blame] | 51 | android:label="@string/spell_checker_service_name" |
satok | c2b6a35 | 2011-08-08 19:16:20 +0900 | [diff] [blame] | 52 | android:permission="android.permission.BIND_TEXT_SERVICE"> |
| 53 | <intent-filter> |
| 54 | <action android:name="android.service.textservice.SpellCheckerService" /> |
| 55 | </intent-filter> |
Ken Wakasa | a7d2fc6 | 2013-07-22 12:43:37 +0900 | [diff] [blame] | 56 | <meta-data android:name="android.view.textservice.scs" |
| 57 | android:resource="@xml/spellchecker" /> |
satok | c2b6a35 | 2011-08-08 19:16:20 +0900 | [diff] [blame] | 58 | </service> |
Jean Chalard | 31fd54c | 2011-08-12 17:18:32 +0900 | [diff] [blame] | 59 | |
Sandeep Siddhartha | d4aec65 | 2014-09-22 16:45:05 -0700 | [diff] [blame^] | 60 | <service android:name="com.android.inputmethod.dictionarypack.DictionaryService" |
| 61 | android:label="@string/dictionary_service_name"> |
| 62 | </service> |
| 63 | |
| 64 | <!-- Activities --> |
Tadashi G. Takaoka | cb0beaf | 2013-02-14 15:01:53 +0900 | [diff] [blame] | 65 | <activity android:name=".setup.SetupActivity" |
Tadashi G. Takaoka | 9b46ddc | 2014-04-04 14:14:47 +0900 | [diff] [blame] | 66 | android:theme="@style/platformActivityTheme" |
Tadashi G. Takaoka | 842e245 | 2013-04-26 14:01:41 +0900 | [diff] [blame] | 67 | android:label="@string/english_ime_name" |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 68 | android:icon="@drawable/ic_launcher_keyboard" |
Tadashi G. Takaoka | 2b5c972 | 2013-05-09 13:14:18 +0900 | [diff] [blame] | 69 | android:launchMode="singleTask" |
| 70 | android:noHistory="true"> |
Tadashi G. Takaoka | cb0beaf | 2013-02-14 15:01:53 +0900 | [diff] [blame] | 71 | <intent-filter> |
| 72 | <action android:name="android.intent.action.MAIN" /> |
Tadashi G. Takaoka | 1ffdaaf | 2013-02-26 17:56:54 +0900 | [diff] [blame] | 73 | <category android:name="android.intent.category.LAUNCHER" /> |
Tadashi G. Takaoka | cb0beaf | 2013-02-14 15:01:53 +0900 | [diff] [blame] | 74 | </intent-filter> |
| 75 | </activity> |
| 76 | |
Tadashi G. Takaoka | 2b5c972 | 2013-05-09 13:14:18 +0900 | [diff] [blame] | 77 | <activity android:name=".setup.SetupWizardActivity" |
Tadashi G. Takaoka | 9b46ddc | 2014-04-04 14:14:47 +0900 | [diff] [blame] | 78 | android:theme="@style/platformActivityTheme" |
Tadashi G. Takaoka | 2b5c972 | 2013-05-09 13:14:18 +0900 | [diff] [blame] | 79 | 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 Wakasa | a7d2fc6 | 2013-07-22 12:43:37 +0900 | [diff] [blame] | 86 | <activity android:name=".settings.SettingsActivity" |
Tadashi G. Takaoka | de1ab73 | 2014-07-17 19:23:35 -0700 | [diff] [blame] | 87 | android:theme="@style/platformSettingsTheme" |
Ken Wakasa | a7d2fc6 | 2013-07-22 12:43:37 +0900 | [diff] [blame] | 88 | android:label="@string/english_ime_settings" |
| 89 | android:uiOptions="splitActionBarWhenNarrow"> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 90 | <intent-filter> |
Tadashi G. Takaoka | cb0beaf | 2013-02-14 15:01:53 +0900 | [diff] [blame] | 91 | <action android:name="android.intent.action.MAIN" /> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 92 | </intent-filter> |
Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame] | 93 | </activity> |
| 94 | |
Ken Wakasa | a7d2fc6 | 2013-07-22 12:43:37 +0900 | [diff] [blame] | 95 | <activity android:name=".spellcheck.SpellCheckerSettingsActivity" |
Tadashi G. Takaoka | de1ab73 | 2014-07-17 19:23:35 -0700 | [diff] [blame] | 96 | android:theme="@style/platformSettingsTheme" |
Tadashi G. Takaoka | 842e245 | 2013-04-26 14:01:41 +0900 | [diff] [blame] | 97 | android:label="@string/android_spell_checker_settings"> |
Jean Chalard | 31fd54c | 2011-08-12 17:18:32 +0900 | [diff] [blame] | 98 | <intent-filter> |
Tadashi G. Takaoka | cb0beaf | 2013-02-14 15:01:53 +0900 | [diff] [blame] | 99 | <action android:name="android.intent.action.MAIN" /> |
Jean Chalard | 31fd54c | 2011-08-12 17:18:32 +0900 | [diff] [blame] | 100 | </intent-filter> |
| 101 | </activity> |
| 102 | |
Jean Chalard | 0cc0544 | 2013-03-15 19:00:51 +0900 | [diff] [blame] | 103 | <activity android:name="com.android.inputmethod.dictionarypack.DictionarySettingsActivity" |
Tadashi G. Takaoka | de1ab73 | 2014-07-17 19:23:35 -0700 | [diff] [blame] | 104 | android:theme="@style/platformSettingsTheme" |
Ken Wakasa | a7d2fc6 | 2013-07-22 12:43:37 +0900 | [diff] [blame] | 105 | android:label="@string/dictionary_settings_title" |
Ken Wakasa | a7d2fc6 | 2013-07-22 12:43:37 +0900 | [diff] [blame] | 106 | android:uiOptions="splitActionBarWhenNarrow"> |
Jean Chalard | 0cc0544 | 2013-03-15 19:00:51 +0900 | [diff] [blame] | 107 | <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. Takaoka | 9b46ddc | 2014-04-04 14:14:47 +0900 | [diff] [blame] | 113 | android:theme="@style/platformActivityTheme" |
| 114 | android:label="@string/dictionary_install_over_metered_network_prompt"> |
Jean Chalard | 0cc0544 | 2013-03-15 19:00:51 +0900 | [diff] [blame] | 115 | <intent-filter> |
| 116 | <action android:name="android.intent.action.MAIN"/> |
| 117 | </intent-filter> |
| 118 | </activity> |
Sandeep Siddhartha | 8418514 | 2014-09-16 15:53:32 -0700 | [diff] [blame] | 119 | |
| 120 | <!-- Unexported activity used for tests. --> |
| 121 | <activity android:name=".settings.TestFragmentActivity" |
| 122 | android:exported="false" /> |
Sandeep Siddhartha | d4aec65 | 2014-09-22 16:45:05 -0700 | [diff] [blame^] | 123 | |
| 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 Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 177 | </application> |
| 178 | </manifest> |