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 | |
Mohammadinamul Sheik | 6041586 | 2015-07-15 13:32:50 -0700 | [diff] [blame] | 21 | <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" /> |
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" /> |
Sandeep Siddhartha | d0a1442 | 2014-09-25 10:30:31 -0700 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
| 29 | <uses-permission android:name="android.permission.READ_SYNC_STATS" /> |
Satoshi Kataoka | 492557e | 2013-05-01 15:52:08 +0900 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.READ_USER_DICTIONARY" /> |
| 31 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Sandeep Siddhartha | d0a1442 | 2014-09-25 10:30:31 -0700 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
Satoshi Kataoka | 492557e | 2013-05-01 15:52:08 +0900 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 34 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Sandeep Siddhartha | d0a1442 | 2014-09-25 10:30:31 -0700 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
Satoshi Kataoka | 492557e | 2013-05-01 15:52:08 +0900 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" /> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 37 | |
Yohei Yukawa | fdfc55d | 2017-09-01 00:22:21 -0700 | [diff] [blame^] | 38 | <!-- A signature-protected permission to ask AOSP Keyboard to close the software keyboard. |
| 39 | To use this, add the following line into calling application's AndroidManifest.xml |
| 40 | <pre> |
| 41 | {@code |
| 42 | <uses-permission android:name="com.android.inputmethod.latin.HIDE_SOFT_INPUT"/> |
| 43 | } |
| 44 | </pre> |
| 45 | then call {@link android.content.Context#sendBroadcast(Intent)} as follows: |
| 46 | <pre> |
| 47 | {@code |
| 48 | sendBroadcast(new Intent("com.android.inputmethod.latin.HIDE_SOFT_INPUT") |
| 49 | .setPackage("com.android.inputmethod.latin")); |
| 50 | } |
| 51 | </pre> --> |
| 52 | <permission android:name="com.android.inputmethod.latin.HIDE_SOFT_INPUT" |
| 53 | android:protectionLevel="signature" /> |
| 54 | |
Tadashi G. Takaoka | 842e245 | 2013-04-26 14:01:41 +0900 | [diff] [blame] | 55 | <application android:label="@string/english_ime_name" |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 56 | android:icon="@drawable/ic_launcher_keyboard" |
Jean Chalard | b11339b | 2014-01-08 16:52:04 +0900 | [diff] [blame] | 57 | android:supportsRtl="true" |
Jeff Sharkey | 8d65803 | 2015-11-18 11:14:18 -0700 | [diff] [blame] | 58 | android:allowBackup="true" |
Jeff Sharkey | a9298f8 | 2016-03-17 11:06:41 -0600 | [diff] [blame] | 59 | android:defaultToDeviceProtectedStorage="true" |
| 60 | android:directBootAware="true"> |
Jeff Hamilton | 43d34da | 2009-05-08 18:57:10 -0700 | [diff] [blame] | 61 | |
Sandeep Siddhartha | d4aec65 | 2014-09-22 16:45:05 -0700 | [diff] [blame] | 62 | <!-- Services --> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 63 | <service android:name="LatinIME" |
Tadashi G. Takaoka | 842e245 | 2013-04-26 14:01:41 +0900 | [diff] [blame] | 64 | android:label="@string/english_ime_name" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 65 | android:permission="android.permission.BIND_INPUT_METHOD"> |
| 66 | <intent-filter> |
| 67 | <action android:name="android.view.InputMethod" /> |
| 68 | </intent-filter> |
| 69 | <meta-data android:name="android.view.im" android:resource="@xml/method" /> |
| 70 | </service> |
Doug Zongker | 4fc0193 | 2010-01-27 14:32:42 -0800 | [diff] [blame] | 71 | |
satok | c2b6a35 | 2011-08-08 19:16:20 +0900 | [diff] [blame] | 72 | <service android:name=".spellcheck.AndroidSpellCheckerService" |
Tadashi G. Takaoka | 842e245 | 2013-04-26 14:01:41 +0900 | [diff] [blame] | 73 | android:label="@string/spell_checker_service_name" |
satok | c2b6a35 | 2011-08-08 19:16:20 +0900 | [diff] [blame] | 74 | android:permission="android.permission.BIND_TEXT_SERVICE"> |
| 75 | <intent-filter> |
| 76 | <action android:name="android.service.textservice.SpellCheckerService" /> |
| 77 | </intent-filter> |
Ken Wakasa | a7d2fc6 | 2013-07-22 12:43:37 +0900 | [diff] [blame] | 78 | <meta-data android:name="android.view.textservice.scs" |
| 79 | android:resource="@xml/spellchecker" /> |
satok | c2b6a35 | 2011-08-08 19:16:20 +0900 | [diff] [blame] | 80 | </service> |
Jean Chalard | 31fd54c | 2011-08-12 17:18:32 +0900 | [diff] [blame] | 81 | |
Sandeep Siddhartha | d4aec65 | 2014-09-22 16:45:05 -0700 | [diff] [blame] | 82 | <service android:name="com.android.inputmethod.dictionarypack.DictionaryService" |
| 83 | android:label="@string/dictionary_service_name"> |
| 84 | </service> |
| 85 | |
| 86 | <!-- Activities --> |
Tadashi G. Takaoka | cb0beaf | 2013-02-14 15:01:53 +0900 | [diff] [blame] | 87 | <activity android:name=".setup.SetupActivity" |
Tadashi G. Takaoka | 9b46ddc | 2014-04-04 14:14:47 +0900 | [diff] [blame] | 88 | android:theme="@style/platformActivityTheme" |
Tadashi G. Takaoka | 842e245 | 2013-04-26 14:01:41 +0900 | [diff] [blame] | 89 | android:label="@string/english_ime_name" |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 90 | android:icon="@drawable/ic_launcher_keyboard" |
Tadashi G. Takaoka | 2b5c972 | 2013-05-09 13:14:18 +0900 | [diff] [blame] | 91 | android:launchMode="singleTask" |
| 92 | android:noHistory="true"> |
Tadashi G. Takaoka | cb0beaf | 2013-02-14 15:01:53 +0900 | [diff] [blame] | 93 | <intent-filter> |
| 94 | <action android:name="android.intent.action.MAIN" /> |
Tadashi G. Takaoka | 1ffdaaf | 2013-02-26 17:56:54 +0900 | [diff] [blame] | 95 | <category android:name="android.intent.category.LAUNCHER" /> |
Tadashi G. Takaoka | cb0beaf | 2013-02-14 15:01:53 +0900 | [diff] [blame] | 96 | </intent-filter> |
| 97 | </activity> |
| 98 | |
Mohammadinamul Sheik | 6041586 | 2015-07-15 13:32:50 -0700 | [diff] [blame] | 99 | <activity |
| 100 | android:name=".permissions.PermissionsActivity" |
| 101 | android:theme="@android:style/Theme.Translucent.NoTitleBar" |
| 102 | android:exported="false" |
| 103 | android:taskAffinity="" > |
| 104 | </activity> |
| 105 | |
Tadashi G. Takaoka | 2b5c972 | 2013-05-09 13:14:18 +0900 | [diff] [blame] | 106 | <activity android:name=".setup.SetupWizardActivity" |
Tadashi G. Takaoka | 9b46ddc | 2014-04-04 14:14:47 +0900 | [diff] [blame] | 107 | android:theme="@style/platformActivityTheme" |
Tadashi G. Takaoka | 2b5c972 | 2013-05-09 13:14:18 +0900 | [diff] [blame] | 108 | android:label="@string/english_ime_name" |
| 109 | android:clearTaskOnLaunch="true"> |
| 110 | <intent-filter> |
| 111 | <action android:name="android.intent.action.MAIN" /> |
| 112 | </intent-filter> |
| 113 | </activity> |
| 114 | |
Ken Wakasa | a7d2fc6 | 2013-07-22 12:43:37 +0900 | [diff] [blame] | 115 | <activity android:name=".settings.SettingsActivity" |
Tadashi G. Takaoka | de1ab73 | 2014-07-17 19:23:35 -0700 | [diff] [blame] | 116 | android:theme="@style/platformSettingsTheme" |
Tadashi G. Takaoka | 477ee88 | 2014-10-06 15:36:34 +0900 | [diff] [blame] | 117 | android:label="@string/english_ime_settings"> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 118 | <intent-filter> |
Tadashi G. Takaoka | cb0beaf | 2013-02-14 15:01:53 +0900 | [diff] [blame] | 119 | <action android:name="android.intent.action.MAIN" /> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 120 | </intent-filter> |
Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame] | 121 | </activity> |
| 122 | |
Ken Wakasa | a7d2fc6 | 2013-07-22 12:43:37 +0900 | [diff] [blame] | 123 | <activity android:name=".spellcheck.SpellCheckerSettingsActivity" |
Tadashi G. Takaoka | de1ab73 | 2014-07-17 19:23:35 -0700 | [diff] [blame] | 124 | android:theme="@style/platformSettingsTheme" |
Tadashi G. Takaoka | 842e245 | 2013-04-26 14:01:41 +0900 | [diff] [blame] | 125 | android:label="@string/android_spell_checker_settings"> |
Jean Chalard | 31fd54c | 2011-08-12 17:18:32 +0900 | [diff] [blame] | 126 | <intent-filter> |
Tadashi G. Takaoka | cb0beaf | 2013-02-14 15:01:53 +0900 | [diff] [blame] | 127 | <action android:name="android.intent.action.MAIN" /> |
Jean Chalard | 31fd54c | 2011-08-12 17:18:32 +0900 | [diff] [blame] | 128 | </intent-filter> |
| 129 | </activity> |
| 130 | |
Jean Chalard | 0cc0544 | 2013-03-15 19:00:51 +0900 | [diff] [blame] | 131 | <activity android:name="com.android.inputmethod.dictionarypack.DictionarySettingsActivity" |
Tadashi G. Takaoka | de1ab73 | 2014-07-17 19:23:35 -0700 | [diff] [blame] | 132 | android:theme="@style/platformSettingsTheme" |
Ken Wakasa | a7d2fc6 | 2013-07-22 12:43:37 +0900 | [diff] [blame] | 133 | android:label="@string/dictionary_settings_title" |
Ken Wakasa | a7d2fc6 | 2013-07-22 12:43:37 +0900 | [diff] [blame] | 134 | android:uiOptions="splitActionBarWhenNarrow"> |
Jean Chalard | 0cc0544 | 2013-03-15 19:00:51 +0900 | [diff] [blame] | 135 | <intent-filter> |
| 136 | <action android:name="android.intent.action.MAIN"/> |
| 137 | </intent-filter> |
| 138 | </activity> |
| 139 | |
| 140 | <activity android:name="com.android.inputmethod.dictionarypack.DownloadOverMeteredDialog" |
Tadashi G. Takaoka | 9b46ddc | 2014-04-04 14:14:47 +0900 | [diff] [blame] | 141 | android:theme="@style/platformActivityTheme" |
| 142 | android:label="@string/dictionary_install_over_metered_network_prompt"> |
Jean Chalard | 0cc0544 | 2013-03-15 19:00:51 +0900 | [diff] [blame] | 143 | <intent-filter> |
| 144 | <action android:name="android.intent.action.MAIN"/> |
| 145 | </intent-filter> |
| 146 | </activity> |
Sandeep Siddhartha | 8418514 | 2014-09-16 15:53:32 -0700 | [diff] [blame] | 147 | |
| 148 | <!-- Unexported activity used for tests. --> |
| 149 | <activity android:name=".settings.TestFragmentActivity" |
| 150 | android:exported="false" /> |
Sandeep Siddhartha | d4aec65 | 2014-09-22 16:45:05 -0700 | [diff] [blame] | 151 | |
| 152 | <!-- Broadcast receivers --> |
| 153 | <receiver android:name="SystemBroadcastReceiver"> |
| 154 | <intent-filter> |
| 155 | <action android:name="android.intent.action.MY_PACKAGE_REPLACED" /> |
| 156 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 157 | <action android:name="android.intent.action.USER_INITIALIZE" /> |
| 158 | <action android:name="android.intent.action.LOCALE_CHANGED" /> |
| 159 | </intent-filter> |
| 160 | </receiver> |
| 161 | |
Dan Zivkovic | 6c1c337 | 2015-03-19 15:36:51 -0700 | [diff] [blame] | 162 | <receiver android:name="DictionaryPackInstallBroadcastReceiver" android:exported="false"> |
Sandeep Siddhartha | d4aec65 | 2014-09-22 16:45:05 -0700 | [diff] [blame] | 163 | <intent-filter> |
| 164 | <action android:name="com.android.inputmethod.dictionarypack.aosp.UNKNOWN_CLIENT" /> |
| 165 | </intent-filter> |
| 166 | </receiver> |
| 167 | |
Sandeep Siddhartha | d4aec65 | 2014-09-22 16:45:05 -0700 | [diff] [blame] | 168 | <receiver android:name="com.android.inputmethod.dictionarypack.EventHandler"> |
| 169 | <intent-filter> |
| 170 | <action android:name="android.intent.action.DOWNLOAD_COMPLETE" /> |
| 171 | <action android:name="android.intent.action.DATE_CHANGED" /> |
| 172 | <action android:name="com.android.inputmethod.dictionarypack.aosp.UPDATE_NOW" /> |
Mohammadinamul Sheik | 3bc3bc7 | 2015-03-24 14:56:54 -0700 | [diff] [blame] | 173 | <action android:name="com.android.inputmethod.dictionarypack.aosp.INIT_AND_UPDATE_NOW" /> |
Sandeep Siddhartha | d4aec65 | 2014-09-22 16:45:05 -0700 | [diff] [blame] | 174 | </intent-filter> |
| 175 | </receiver> |
| 176 | |
| 177 | <!-- Broadcast receiver for AccountManager#LOGIN_ACCOUNTS_CHANGED_ACTION. --> |
Dan Zivkovic | 6c1c337 | 2015-03-19 15:36:51 -0700 | [diff] [blame] | 178 | <receiver android:name=".accounts.AccountsChangedReceiver"> |
Sandeep Siddhartha | d4aec65 | 2014-09-22 16:45:05 -0700 | [diff] [blame] | 179 | <intent-filter> |
| 180 | <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" /> |
| 181 | </intent-filter> |
| 182 | </receiver> |
| 183 | |
| 184 | <!-- Content providers --> |
| 185 | <provider android:name="com.android.inputmethod.dictionarypack.DictionaryProvider" |
| 186 | android:grantUriPermissions="true" |
| 187 | android:exported="false" |
| 188 | android:authorities="@string/authority" |
| 189 | android:multiprocess="false" |
| 190 | android:label="@string/dictionary_provider_name"> |
| 191 | </provider> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 192 | </application> |
| 193 | </manifest> |