aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhed Jao <rhedjao@google.com>2022-09-06 20:48:59 +0800
committerRhed Jao <rhedjao@google.com>2022-09-21 15:54:29 +0800
commita630a5f60348605ed2957ec373740eedd885836b (patch)
tree824e0083072bc0eab82345853ea1d1a690841a74
parent9415f52b7d724d6c3cf79587d15449f8f4c3fda8 (diff)
downloadlatinime-a630a5f60348605ed2957ec373740eedd885836b.tar.gz
latinime-a630a5f60348605ed2957ec373740eedd885836b.tar.xz
latinime-a630a5f60348605ed2957ec373740eedd885836b.zip
Declaring package visibility needs for LatinIME
Bug: 179783492 Bug: 179783499 Bug: 216823971 Test: atest LatinIMETests Change-Id: I309ffefe261049a5d3abce8e16829cd66f9123dc
-rw-r--r--java/AndroidManifest.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/java/AndroidManifest.xml b/java/AndroidManifest.xml
index 3917084a4..633c68be3 100644
--- a/java/AndroidManifest.xml
+++ b/java/AndroidManifest.xml
@@ -54,6 +54,13 @@
<permission android:name="com.android.inputmethod.latin.HIDE_SOFT_INPUT"
android:protectionLevel="signature"/>
+ <!-- To query enabled input methods. -->
+ <queries>
+ <intent>
+ <action android:name="android.view.InputMethod" />
+ </intent>
+ </queries>
+
<application android:label="@string/english_ime_name"
android:icon="@drawable/ic_launcher_keyboard"
android:supportsRtl="true"
@@ -65,7 +72,8 @@
<service android:name="LatinIME"
android:label="@string/english_ime_name"
android:permission="android.permission.BIND_INPUT_METHOD"
- android:exported="true">
+ android:exported="true"
+ android:visibleToInstantApps="true">
<intent-filter>
<action android:name="android.view.InputMethod"/>
</intent-filter>