Skip to content
Commit 724c5bb8 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Allow the active IME to see the target app package

This CL ensures that API calls from IMEs will not be blocked by the
package visibility restriction introduced in Android 11, as long as
the IME is or was interacting with the target app.

This types of special allow rules are called "implicit visibility"
internally, because explicit <queries> elements in
ApplicationManifest.xml aren't required in such cases, and this CL
adds one more case to this "implicit visibility" scenario so that IMEs
can have "implicit visibility" to the target apps.

Fix: 152909969
Test: atest CtsInputMethodTestCases:PackageVisibilityTest
Test: atest CtsInputMethodTestCases:PackageVisibilityTest --instant
Change-Id: I28ccdd7409d167cb6d277135e9ebaed5b2422d79
parent 8a9a2f80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment