InputMethodTest: fix certain IMEs not being added properly

(cherry picked from commit 621a5e37d6)
This commit is contained in:
Nikita Tsarev
2023-08-18 12:53:18 +02:00
committed by jbrbot
parent 0e614cc09e
commit 2b897ed1fe

View File

@@ -185,7 +185,7 @@ public class InputMethodTest {
public static void layout(String name) {
List<String> layouts = new ArrayList<>();
if (name.matches("com\\.apple\\.inputmethod\\.(SCIM|TCIM|TYIM|Kotoeri\\.\\w+)\\.\\w+")) {
if (name.matches("com\\.apple\\.inputmethod\\.(SCIM|TCIM|TYIM|Kotoeri|Korean|VietnameseIM\\.\\w+)\\.\\w+")) {
layouts.add(name.replaceFirst("\\.\\w+$", ""));
}