From 7b478993e2d27720416bb0a9d0f664fdb54b57df Mon Sep 17 00:00:00 2001 From: Darcy Wong Date: Wed, 22 Jan 2025 15:18:03 +0700 Subject: [PATCH] fix(android/engine): Revert how keyboard picker menu launches Revert #10806 --- android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java b/android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java index cc12b36dca..3cfa41c3a0 100644 --- a/android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java +++ b/android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java @@ -2267,6 +2267,7 @@ public static void showKeyboardPicker(Context context, KeyboardType kbType) { if (kbType == KeyboardType.KEYBOARD_TYPE_SYSTEM) { i.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS); + i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK); } i.putExtra(KMKey_DisplayKeyboardSwitcher, kbType == KeyboardType.KEYBOARD_TYPE_SYSTEM);