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"
|
2020-03-23 23:23:26 +00:00
|
|
|
coreApp="true"
|
|
|
|
package="com.android.inputmethod.latin"
|
|
|
|
android:versionCode="28">
|
|
|
|
|
|
|
|
<uses-sdk android:minSdkVersion="21"
|
|
|
|
android:targetSdkVersion="28"/>
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
|
|
|
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION"/>
|
|
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_PROFILE"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_SYNC_STATS"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_USER_DICTIONARY"/>
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
|
|
|
<uses-permission android:name="android.permission.USE_CREDENTIALS"/>
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
|
|
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
|
|
|
|
<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.
|
2020-03-23 23:23:26 +00:00
|
|
|
To use this, add the following line into calling application's AndroidManifest.xml
|
2017-09-01 07:22:21 +00:00
|
|
|
<pre>
|
2020-03-23 23:23:26 +00:00
|
|
|
{@code
|
2017-09-01 07:22:21 +00:00
|
|
|
<uses-permission android:name="com.android.inputmethod.latin.HIDE_SOFT_INPUT"/>
|
2020-03-23 23:23:26 +00:00
|
|
|
}
|
2017-09-01 07:22:21 +00:00
|
|
|
</pre>
|
2020-03-23 23:23:26 +00:00
|
|
|
then call {@link android.content.Context#sendBroadcast(Intent)} as follows:
|
2017-09-01 07:22:21 +00:00
|
|
|
<pre>
|
2020-03-23 23:23:26 +00:00
|
|
|
{@code
|
|
|
|
sendBroadcast(new Intent("com.android.inputmethod.latin.HIDE_SOFT_INPUT")
|
|
|
|
.setPackage("com.android.inputmethod.latin"));
|
|
|
|
}
|
2017-09-01 07:22:21 +00:00
|
|
|
</pre> -->
|
|
|
|
<permission android:name="com.android.inputmethod.latin.HIDE_SOFT_INPUT"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:protectionLevel="signature"/>
|
2017-09-01 07:22:21 +00:00
|
|
|
|
2013-04-26 05:01:41 +00:00
|
|
|
<application android:label="@string/english_ime_name"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:icon="@drawable/ic_launcher_keyboard"
|
|
|
|
android:supportsRtl="true"
|
|
|
|
android:allowBackup="true"
|
|
|
|
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"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:label="@string/english_ime_name"
|
|
|
|
android:permission="android.permission.BIND_INPUT_METHOD"
|
|
|
|
android:exported="true">
|
2009-03-13 22:11:42 +00:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +00:00
|
|
|
<action android:name="android.view.InputMethod"/>
|
2009-03-13 22:11:42 +00:00
|
|
|
</intent-filter>
|
2020-03-23 23:23:26 +00:00
|
|
|
<meta-data android:name="android.view.im"
|
|
|
|
android:resource="@xml/method"/>
|
2009-03-13 22:11:42 +00:00
|
|
|
</service>
|
2010-01-27 22:32:42 +00:00
|
|
|
|
2011-08-08 10:16:20 +00:00
|
|
|
<service android:name=".spellcheck.AndroidSpellCheckerService"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:label="@string/spell_checker_service_name"
|
|
|
|
android:permission="android.permission.BIND_TEXT_SERVICE"
|
|
|
|
android:exported="true">
|
2011-08-08 10:16:20 +00:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +00:00
|
|
|
<action android:name="android.service.textservice.SpellCheckerService"/>
|
2011-08-08 10:16:20 +00:00
|
|
|
</intent-filter>
|
2013-07-22 03:43:37 +00:00
|
|
|
<meta-data android:name="android.view.textservice.scs"
|
2020-03-23 23:23:26 +00:00
|
|
|
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"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:label="@string/dictionary_service_name">
|
2014-09-22 23:45:05 +00:00
|
|
|
</service>
|
|
|
|
|
|
|
|
<!-- Activities -->
|
2013-02-14 06:01:53 +00:00
|
|
|
<activity android:name=".setup.SetupActivity"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:theme="@style/platformActivityTheme"
|
|
|
|
android:label="@string/english_ime_name"
|
|
|
|
android:icon="@drawable/ic_launcher_keyboard"
|
|
|
|
android:launchMode="singleTask"
|
|
|
|
android:noHistory="true"
|
|
|
|
android:exported="true">
|
2013-02-14 06:01:53 +00:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +00:00
|
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
2013-02-14 06:01:53 +00:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2020-03-23 23:23:26 +00:00
|
|
|
<activity android:name=".permissions.PermissionsActivity"
|
|
|
|
android:theme="@android:style/Theme.Translucent.NoTitleBar"
|
|
|
|
android:exported="false"
|
|
|
|
android:taskAffinity="">
|
2015-07-15 20:32:50 +00:00
|
|
|
</activity>
|
|
|
|
|
2013-05-09 04:14:18 +00:00
|
|
|
<activity android:name=".setup.SetupWizardActivity"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:theme="@style/platformActivityTheme"
|
|
|
|
android:label="@string/english_ime_name"
|
|
|
|
android:clearTaskOnLaunch="true"
|
|
|
|
android:exported="true">
|
2013-05-09 04:14:18 +00:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +00:00
|
|
|
<action android:name="android.intent.action.MAIN"/>
|
2013-05-09 04:14:18 +00:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2013-07-22 03:43:37 +00:00
|
|
|
<activity android:name=".settings.SettingsActivity"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:theme="@style/platformSettingsTheme"
|
|
|
|
android:label="@string/english_ime_settings"
|
|
|
|
android:exported="true">
|
2009-03-13 22:11:42 +00:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +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"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:theme="@style/platformSettingsTheme"
|
|
|
|
android:label="@string/android_spell_checker_settings"
|
|
|
|
android:exported="true">
|
2011-08-12 08:18:32 +00:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +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"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:theme="@style/platformSettingsTheme"
|
|
|
|
android:label="@string/dictionary_settings_title"
|
|
|
|
android:uiOptions="splitActionBarWhenNarrow"
|
|
|
|
android:exported="true">
|
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"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:theme="@style/platformActivityTheme"
|
|
|
|
android:label="@string/dictionary_install_over_metered_network_prompt"
|
|
|
|
android:exported="true">
|
2014-09-22 23:45:05 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<!-- Unexported activity used for tests. -->
|
|
|
|
<activity android:name=".settings.TestFragmentActivity"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:exported="false"/>
|
2014-09-22 23:45:05 +00:00
|
|
|
|
|
|
|
<!-- Broadcast receivers -->
|
2020-03-23 23:23:26 +00:00
|
|
|
<receiver android:name="SystemBroadcastReceiver"
|
|
|
|
android:exported="true">
|
2014-09-22 23:45:05 +00:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +00:00
|
|
|
<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
|
|
|
|
2020-03-23 23:23:26 +00:00
|
|
|
<receiver android:name="DictionaryPackInstallBroadcastReceiver"
|
|
|
|
android:exported="false">
|
2013-03-28 09:59:19 +00:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +00:00
|
|
|
<action android:name="com.android.inputmethod.dictionarypack.aosp.UNKNOWN_CLIENT"/>
|
2013-03-28 09:59:19 +00:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2020-03-23 23:23:26 +00:00
|
|
|
<receiver android:name="com.android.inputmethod.dictionarypack.EventHandler"
|
|
|
|
android:exported="true">
|
2013-03-15 10:00:51 +00:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +00:00
|
|
|
<action android:name="android.intent.action.DOWNLOAD_COMPLETE"/>
|
|
|
|
<action android:name="android.intent.action.DATE_CHANGED"/>
|
|
|
|
<action android:name="com.android.inputmethod.dictionarypack.aosp.UPDATE_NOW"/>
|
|
|
|
<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. -->
|
2020-03-23 23:23:26 +00:00
|
|
|
<receiver android:name=".accounts.AccountsChangedReceiver"
|
|
|
|
android:exported="true">
|
2013-03-15 10:00:51 +00:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +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"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:grantUriPermissions="true"
|
|
|
|
android:exported="false"
|
|
|
|
android:authorities="@string/authority"
|
|
|
|
android:multiprocess="false"
|
|
|
|
android:label="@string/dictionary_provider_name">
|
2014-09-22 23:45:05 +00:00
|
|
|
</provider>
|
2009-03-13 22:11:42 +00:00
|
|
|
</application>
|
|
|
|
</manifest>
|