2012-07-06 12:29:08 +01: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"
|
2023-07-06 19:57:49 +01:00
|
|
|
package="org.futo.inputmethod.latin"
|
2021-06-15 04:32:50 +01:00
|
|
|
android:versionCode="30">
|
2020-03-23 23:23:26 +00:00
|
|
|
|
|
|
|
<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 08:22:21 +01: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 08:22:21 +01:00
|
|
|
<pre>
|
2020-03-23 23:23:26 +00:00
|
|
|
{@code
|
2023-07-06 19:57:49 +01:00
|
|
|
<uses-permission android:name="org.futo.inputmethod.latin.HIDE_SOFT_INPUT"/>
|
2020-03-23 23:23:26 +00:00
|
|
|
}
|
2017-09-01 08:22:21 +01:00
|
|
|
</pre>
|
2020-03-23 23:23:26 +00:00
|
|
|
then call {@link android.content.Context#sendBroadcast(Intent)} as follows:
|
2017-09-01 08:22:21 +01:00
|
|
|
<pre>
|
2020-03-23 23:23:26 +00:00
|
|
|
{@code
|
2023-07-06 19:57:49 +01:00
|
|
|
sendBroadcast(new Intent("org.futo.inputmethod.latin.HIDE_SOFT_INPUT")
|
|
|
|
.setPackage("org.futo.inputmethod.latin"));
|
2020-03-23 23:23:26 +00:00
|
|
|
}
|
2017-09-01 08:22:21 +01:00
|
|
|
</pre> -->
|
2023-07-06 19:57:49 +01:00
|
|
|
<permission android:name="org.futo.inputmethod.latin.HIDE_SOFT_INPUT"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:protectionLevel="signature"/>
|
2017-09-01 08:22:21 +01:00
|
|
|
|
2013-04-26 06:01:41 +01: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 02:57:10 +01:00
|
|
|
|
2014-09-23 00:45:05 +01:00
|
|
|
<!-- Services -->
|
2023-08-14 10:48:12 +01: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 11:16:20 +01: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 11:16:20 +01:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +00:00
|
|
|
<action android:name="android.service.textservice.SpellCheckerService"/>
|
2011-08-08 11:16:20 +01:00
|
|
|
</intent-filter>
|
2013-07-22 04:43:37 +01:00
|
|
|
<meta-data android:name="android.view.textservice.scs"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:resource="@xml/spellchecker"/>
|
2011-08-08 11:16:20 +01:00
|
|
|
</service>
|
2011-08-12 09:18:32 +01:00
|
|
|
|
2023-07-06 19:57:49 +01:00
|
|
|
<service android:name="org.futo.inputmethod.dictionarypack.DictionaryService"
|
2020-03-23 23:23:26 +00:00
|
|
|
android:label="@string/dictionary_service_name">
|
2014-09-23 00:45:05 +01: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 21:32:50 +01:00
|
|
|
</activity>
|
|
|
|
|
2013-05-09 05:14:18 +01: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 05:14:18 +01:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +00:00
|
|
|
<action android:name="android.intent.action.MAIN"/>
|
2013-05-09 05:14:18 +01:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2013-07-22 04:43:37 +01: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 21:48:35 +01:00
|
|
|
</activity>
|
2011-08-12 09:18:32 +01:00
|
|
|
|
2013-07-22 04:43:37 +01: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 09:18:32 +01:00
|
|
|
<intent-filter>
|
2020-03-23 23:23:26 +00:00
|
|
|
<action android:name="android.intent.action.MAIN"/>
|
2011-08-12 09:18:32 +01:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2009-10-12 21:48:35 +01:00
|
|
|
|
2023-07-06 19:57:49 +01:00
|
|
|
<activity android:name="org.futo.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 06:10:00 +01:00
|
|
|
<intent-filter>
|
2014-09-23 00:45:05 +01:00
|
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2023-07-06 19:57:49 +01:00
|
|
|
<activity android:name="org.futo.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-23 00:45:05 +01: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-23 00:45:05 +01:00
|
|
|
|
|
|
|
<!-- Broadcast receivers -->
|
2020-03-23 23:23:26 +00:00
|
|
|
<receiver android:name="SystemBroadcastReceiver"
|
|
|
|
android:exported="true">
|
2014-09-23 00:45:05 +01: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 06:10:00 +01: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>
|
2023-07-06 19:57:49 +01:00
|
|
|
<action android:name="org.futo.inputmethod.dictionarypack.aosp.UNKNOWN_CLIENT"/>
|
2013-03-28 09:59:19 +00:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2023-07-06 19:57:49 +01:00
|
|
|
<receiver android:name="org.futo.inputmethod.dictionarypack.EventHandler"
|
2020-03-23 23:23:26 +00:00
|
|
|
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"/>
|
2023-07-06 19:57:49 +01:00
|
|
|
<action android:name="org.futo.inputmethod.dictionarypack.aosp.UPDATE_NOW"/>
|
|
|
|
<action android:name="org.futo.inputmethod.dictionarypack.aosp.INIT_AND_UPDATE_NOW"/>
|
2013-03-15 10:00:51 +00:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2014-09-23 00:45:05 +01: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-23 00:45:05 +01:00
|
|
|
</receiver>
|
2014-09-16 23:53:32 +01:00
|
|
|
|
2014-09-23 00:45:05 +01:00
|
|
|
<!-- Content providers -->
|
2023-07-06 19:57:49 +01:00
|
|
|
<provider android:name="org.futo.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-23 00:45:05 +01:00
|
|
|
</provider>
|
2009-03-13 22:11:42 +00:00
|
|
|
</application>
|
|
|
|
</manifest>
|