Update target SDK version to 36 (#1190)

* Fix keyboard not showing on Android 16

* Update target SDK version to 36
This commit is contained in:
Jules Aguillon
2026-02-25 00:12:43 +01:00
committed by GitHub
parent ae4a9d4514
commit 958900ca2f
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ Thanks for contributing :)
The application uses Gradle and can be used with Android Studio, but using
Android Studio is not required. The build dependencies are:
- OpenJDK 17
- Android SDK: build tools (minimum `28.0.1`), platform `30`
- Android SDK: build tools, platform `36`
Python 3 is required to update generated files but not to build the app.
+2 -2
View File
@@ -14,12 +14,12 @@ dependencies {
android {
namespace = "juloo.keyboard2"
compileSdkVersion = "android-35"
compileSdkVersion = "android-36"
defaultConfig {
applicationId = "juloo.keyboard2"
minSdk = 21
targetSdk { version = release(35) }
targetSdk { version = release(36) }
versionCode = 50
versionName = "1.32.1"
}
+9
View File
@@ -351,6 +351,15 @@ public class Keyboard2 extends InputMethodService
return false;
}
@Override
public boolean onEvaluateInputViewShown()
{
super.onEvaluateInputViewShown();
// Return true regardless of the super call result to fix the keyboard not
// being visible on Android 16
return true;
}
/** Called from [onClick] attributes. */
public void launch_dictionaries_activity(View v)
{