From 1131b978121048b61e886f12e0c969002c90d850 Mon Sep 17 00:00:00 2001 From: Joshua Horton Date: Fri, 24 Jan 2025 08:45:39 +0700 Subject: [PATCH] fix(android): restores DOMRect polyfill for old Chrome support --- .../KMEA/app/src/main/java/com/keyman/engine/KMManager.java | 3 +++ 1 file changed, 3 insertions(+) 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 3cfa41c3a0..0e4c261232 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 @@ -921,6 +921,9 @@ private static void copyAssets(Context context) { copyAsset(context, KMFilename_KmwCss, "", true); copyAsset(context, KMFilename_KmwGlobeHintCss, "", true); copyAsset(context, KMFilename_Osk_Ttf_Font, "", true); + + // Needed until our minimum version of Chrome is 61.0+. + copyAsset(context, KMFilename_JSPolyfill2, "", true); // Copy default keyboard font copyAsset(context, KMDefault_KeyboardFont, "", true);