Skip to content

Commit

Permalink
fix(android/engine): Try other settings to fix OSK width
Browse files Browse the repository at this point in the history
  • Loading branch information
darcywong00 committed Jan 24, 2024
1 parent 338a8ac commit 4785c6b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions android/KMAPro/kMAPro/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
android:name=".SplashScreenActivity"
android:exported="true"
android:label="@string/app_name"
android:resizeableActivity="false"
android:theme="@style/AppTheme.BrandedLaunch">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand All @@ -72,6 +73,7 @@
android:exported="true"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
android:label="@string/app_name"
android:resizeableActivity="false"
android:launchMode="singleTask">

<!-- See http://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-extension/2062112#2062112 -->
Expand Down
1 change: 1 addition & 0 deletions android/KMEA/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<uses-permission android:name="android.permission.INTERNET" tools:node="remove" />

<application
android:resizeableActivity="false"
android:theme="@style/AppTheme" >

<!-- Have application handle initializing Sentry -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ public void initKMKeyboard(final Context context) {
clearCache(true);
getSettings().setJavaScriptEnabled(true);
getSettings().setAllowFileAccess(true);
getSettings().setSupportMultipleWindows(false);

// Normally, this would be true to prevent the WebView from accessing the network.
// But this needs to false for sending embedded KMW crash reports to Sentry (keymanapp/keyman#3825)
Expand Down

0 comments on commit 4785c6b

Please sign in to comment.