From 76a3c8c9b3a4971fab8fac544e49dfe8631f6059 Mon Sep 17 00:00:00 2001 From: Nikolas Havrikov Date: Tue, 1 Feb 2022 10:58:50 +0100 Subject: [PATCH] Allow exempting IMEs from being unbound by IMMS This CL introduces a denylist so that IMEs which cannot handle being frequently unbound can be exempt from the preventable startup behavior, such as the virtual remote IME. Bug: 216618758 Test: atest CtsInputMethodTestCases Test: also manually Change-Id: Id0aaa496ee46532d0e97c236df7e073947ababcd --- core/res/res/values/config.xml | 5 ++ core/res/res/values/symbols.xml | 1 + .../InputMethodManagerService.java | 54 ++++++++++++++++--- 3 files changed, 53 insertions(+), 7 deletions(-) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 269aa1bb77299..b9aa259c587a0 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -2963,6 +2963,11 @@ the currently focused view is a text editor. --> false + + +