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