2012-07-06 11:29:08 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright (C) 2012 The Android Open Source Project
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
|
2010-01-27 22:32:42 +00:00
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2011-09-23 22:10:13 +00:00
|
|
|
coreApp="true"
|
2018-07-26 00:08:47 +00:00
|
|
|
package="com.android.inputmethod.latin"
|
|
|
|
android:versionCode="28">
|
2010-02-13 00:55:34 +00:00
|
|
|
|
2013-02-14 06:01:53 +00:00
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
2013-05-01 06:52:08 +00:00
|
|
|
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
|
|
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
2010-03-13 00:40:27 +00:00
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
2013-05-01 06:52:08 +00:00
|
|
|
<uses-permission android:name="android.permission.READ_PROFILE" />
|
2014-09-25 17:30:31 +00:00
|
|
|
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
|
|
|
|
<uses-permission android:name="android.permission.READ_SYNC_STATS" />
|
2013-05-01 06:52:08 +00:00
|
|
|
<uses-permission android:name="android.permission.READ_USER_DICTIONARY" />
|
2013-02-26 08:56:54 +00:00
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
2014-09-25 17:30:31 +00:00
|
|
|
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
|
2013-05-01 06:52:08 +00:00
|
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
2013-03-15 10:00:51 +00:00
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
2014-09-25 17:30:31 +00:00
|
|
|
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
|
2013-05-01 06:52:08 +00:00
|
|
|
<uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" />
|
2009-03-13 22:11:42 +00:00
|
|
|
|
2017-09-01 07:22:21 +00:00
|
|
|
<!-- A signature-protected permission to ask AOSP Keyboard to close the software keyboard.
|
|
|
|
To use this, add the following line into calling application's AndroidManifest.xml
|
|
|
|
<pre>
|
|
|
|
{@code
|
|
|
|
<uses-permission android:name="com.android.inputmethod.latin.HIDE_SOFT_INPUT"/>
|
|
|
|
}
|
|
|
|
</pre>
|
|
|
|
then call {@link android.content.Context#sendBroadcast(Intent)} as follows:
|
|
|
|
<pre>
|
|
|
|
{@code
|
|
|
|
sendBroadcast(new Intent("com.android.inputmethod.latin.HIDE_SOFT_INPUT")
|
|
|
|
.setPackage("com.android.inputmethod.latin"));
|
|
|
|
}
|
|
|
|
</pre> -->
|
|
|
|
<permission android:name="com.android.inputmethod.latin.HIDE_SOFT_INPUT"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2013-04-26 05:01:41 +00:00
|
|
|
<application android:label="@string/english_ime_name"
|
2013-12-13 08:09:16 +00:00
|
|
|
android:icon="@drawable/ic_launcher_keyboard"
|
2014-01-08 07:52:04 +00:00
|
|
|
android:supportsRtl="true"
|
2015-11-18 18:14:18 +00:00
|
|
|
android:allowBackup="true"
|
2016-03-17 17:06:41 +00:00
|
|
|
android:defaultToDeviceProtectedStorage="true"
|
|
|
|
android:directBootAware="true">
|
2009-05-09 01:57:10 +00:00
|
|
|
|
2014-09-22 23:45:05 +00:00
|
|
|
<!-- Services -->
|
2009-03-13 22:11:42 +00:00
|
|
|
<service android:name="LatinIME"
|
2013-04-26 05:01:41 +00:00
|
|
|
android:label="@string/english_ime_name"
|
2009-03-13 22:11:42 +00:00
|
|
|
android:permission="android.permission.BIND_INPUT_METHOD">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.view.InputMethod" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data android:name="android.view.im" android:resource="@xml/method" />
|
|
|
|
</service>
|
2010-01-27 22:32:42 +00:00
|
|
|
|
2011-08-08 10:16:20 +00:00
|
|
|
<service android:name=".spellcheck.AndroidSpellCheckerService"
|
2013-04-26 05:01:41 +00:00
|
|
|
android:label="@string/spell_checker_service_name"
|
2011-08-08 10:16:20 +00:00
|
|
|
android:permission="android.permission.BIND_TEXT_SERVICE">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.service.textservice.SpellCheckerService" />
|
|
|
|
</intent-filter>
|
2013-07-22 03:43:37 +00:00
|
|
|
<meta-data android:name="android.view.textservice.scs"
|
|
|
|
android:resource="@xml/spellchecker" />
|
2011-08-08 10:16:20 +00:00
|
|
|
</service>
|
2011-08-12 08:18:32 +00:00
|
|
|
|
2014-09-22 23:45:05 +00:00
|
|
|
<service android:name="com.android.inputmethod.dictionarypack.DictionaryService"
|
|
|
|
android:label="@string/dictionary_service_name">
|
|
|
|
</service>
|
|
|
|
|
|
|
|
<!-- Activities -->
|
2013-02-14 06:01:53 +00:00
|
|
|
<activity android:name=".setup.SetupActivity"
|
2014-04-04 05:14:47 +00:00
|
|
|
android:theme="@style/platformActivityTheme"
|
2013-04-26 05:01:41 +00:00
|
|
|
android:label="@string/english_ime_name"
|
2013-12-13 08:09:16 +00:00
|
|
|
android:icon="@drawable/ic_launcher_keyboard"
|
2013-05-09 04:14:18 +00:00
|
|
|
android:launchMode="singleTask"
|
|
|
|
android:noHistory="true">
|
2013-02-14 06:01:53 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
2013-02-26 08:56:54 +00:00
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
2013-02-14 06:01:53 +00:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2015-07-15 20:32:50 +00:00
|
|
|
<activity
|
|
|
|
android:name=".permissions.PermissionsActivity"
|
|
|
|
android:theme="@android:style/Theme.Translucent.NoTitleBar"
|
|
|
|
android:exported="false"
|
|
|
|
android:taskAffinity="" >
|
|
|
|
</activity>
|
|
|
|
|
2013-05-09 04:14:18 +00:00
|
|
|
<activity android:name=".setup.SetupWizardActivity"
|
2014-04-04 05:14:47 +00:00
|
|
|
android:theme="@style/platformActivityTheme"
|
2013-05-09 04:14:18 +00:00
|
|
|
android:label="@string/english_ime_name"
|
|
|
|
android:clearTaskOnLaunch="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2013-07-22 03:43:37 +00:00
|
|
|
<activity android:name=".settings.SettingsActivity"
|
2014-07-18 02:23:35 +00:00
|
|
|
android:theme="@style/platformSettingsTheme"
|
2014-10-06 06:36:34 +00:00
|
|
|
android:label="@string/english_ime_settings">
|
2009-03-13 22:11:42 +00:00
|
|
|
<intent-filter>
|
2013-02-14 06:01:53 +00:00
|
|
|
<action android:name="android.intent.action.MAIN" />
|
2009-03-13 22:11:42 +00:00
|
|
|
</intent-filter>
|
2009-10-12 20:48:35 +00:00
|
|
|
</activity>
|
2011-08-12 08:18:32 +00:00
|
|
|
|
2013-07-22 03:43:37 +00:00
|
|
|
<activity android:name=".spellcheck.SpellCheckerSettingsActivity"
|
2014-07-18 02:23:35 +00:00
|
|
|
android:theme="@style/platformSettingsTheme"
|
2013-04-26 05:01:41 +00:00
|
|
|
android:label="@string/android_spell_checker_settings">
|
2011-08-12 08:18:32 +00:00
|
|
|
<intent-filter>
|
2013-02-14 06:01:53 +00:00
|
|
|
<action android:name="android.intent.action.MAIN" />
|
2011-08-12 08:18:32 +00:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2009-10-12 20:48:35 +00:00
|
|
|
|
2014-09-22 23:45:05 +00:00
|
|
|
<activity android:name="com.android.inputmethod.dictionarypack.DictionarySettingsActivity"
|
|
|
|
android:theme="@style/platformSettingsTheme"
|
|
|
|
android:label="@string/dictionary_settings_title"
|
|
|
|
android:uiOptions="splitActionBarWhenNarrow">
|
2011-05-26 05:10:00 +00:00
|
|
|
<intent-filter>
|
2014-09-22 23:45:05 +00:00
|
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<activity android:name="com.android.inputmethod.dictionarypack.DownloadOverMeteredDialog"
|
|
|
|
android:theme="@style/platformActivityTheme"
|
|
|
|
android:label="@string/dictionary_install_over_metered_network_prompt">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<!-- Unexported activity used for tests. -->
|
|
|
|
<activity android:name=".settings.TestFragmentActivity"
|
|
|
|
android:exported="false" />
|
|
|
|
|
|
|
|
<!-- Broadcast receivers -->
|
|
|
|
<receiver android:name="SystemBroadcastReceiver">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
<action android:name="android.intent.action.USER_INITIALIZE" />
|
|
|
|
<action android:name="android.intent.action.LOCALE_CHANGED" />
|
2011-05-26 05:10:00 +00:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
2013-03-15 10:00:51 +00:00
|
|
|
|
2015-03-19 22:36:51 +00:00
|
|
|
<receiver android:name="DictionaryPackInstallBroadcastReceiver" android:exported="false">
|
2013-03-28 09:59:19 +00:00
|
|
|
<intent-filter>
|
2013-06-10 15:14:06 +00:00
|
|
|
<action android:name="com.android.inputmethod.dictionarypack.aosp.UNKNOWN_CLIENT" />
|
2013-03-28 09:59:19 +00:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2013-03-15 10:00:51 +00:00
|
|
|
<receiver android:name="com.android.inputmethod.dictionarypack.EventHandler">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.DOWNLOAD_COMPLETE" />
|
|
|
|
<action android:name="android.intent.action.DATE_CHANGED" />
|
2013-06-10 15:14:06 +00:00
|
|
|
<action android:name="com.android.inputmethod.dictionarypack.aosp.UPDATE_NOW" />
|
2015-03-24 21:56:54 +00:00
|
|
|
<action android:name="com.android.inputmethod.dictionarypack.aosp.INIT_AND_UPDATE_NOW" />
|
2013-03-15 10:00:51 +00:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2014-09-22 23:45:05 +00:00
|
|
|
<!-- Broadcast receiver for AccountManager#LOGIN_ACCOUNTS_CHANGED_ACTION. -->
|
2015-03-19 22:36:51 +00:00
|
|
|
<receiver android:name=".accounts.AccountsChangedReceiver">
|
2013-03-15 10:00:51 +00:00
|
|
|
<intent-filter>
|
2014-09-22 23:45:05 +00:00
|
|
|
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
|
2013-03-15 10:00:51 +00:00
|
|
|
</intent-filter>
|
2014-09-22 23:45:05 +00:00
|
|
|
</receiver>
|
2014-09-16 22:53:32 +00:00
|
|
|
|
2014-09-22 23:45:05 +00:00
|
|
|
<!-- Content providers -->
|
|
|
|
<provider android:name="com.android.inputmethod.dictionarypack.DictionaryProvider"
|
|
|
|
android:grantUriPermissions="true"
|
|
|
|
android:exported="false"
|
|
|
|
android:authorities="@string/authority"
|
|
|
|
android:multiprocess="false"
|
|
|
|
android:label="@string/dictionary_provider_name">
|
|
|
|
</provider>
|
2009-03-13 22:11:42 +00:00
|
|
|
</application>
|
|
|
|
</manifest>
|