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:
+1
-1
@@ -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
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user