abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTING.md2
-rw-r--r--build.gradle.kts4
-rw-r--r--srcs/juloo.keyboard2/Keyboard2.java9
3 files changed, 12 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f2f37a6..dfbb10b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -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.
diff --git a/build.gradle.kts b/build.gradle.kts
index 8c8b6d7..1108100 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -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"
}
diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java
index 2a7695c..af536dd 100644
--- a/srcs/juloo.keyboard2/Keyboard2.java
+++ b/srcs/juloo.keyboard2/Keyboard2.java
@@ -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)
{