upgrade target SDK to 35

might cause issues with hebrew and indonesian on Android 15 devices due to changed language codes
This commit is contained in:
Helium314 2025-03-26 19:56:46 +01:00
parent f5bc89b91d
commit 0847bac3d5
2 changed files with 5 additions and 5 deletions

View file

@ -6,13 +6,13 @@ plugins {
} }
android { android {
compileSdk = 34 compileSdk = 35
buildToolsVersion = "34.0.0" buildToolsVersion = "34.0.0"
defaultConfig { defaultConfig {
applicationId = "helium314.keyboard" applicationId = "helium314.keyboard"
minSdk = 21 minSdk = 21
targetSdk = 34 targetSdk = 35
versionCode = 3002 versionCode = 3002
versionName = "3.0-alpha2" versionName = "3.0-alpha2"
ndk { ndk {
@ -96,8 +96,8 @@ android {
dependencies { dependencies {
// androidx // androidx
implementation("androidx.core:core-ktx:1.13.1") implementation("androidx.core:core-ktx:1.15.0")
implementation("androidx.recyclerview:recyclerview:1.3.2") implementation("androidx.recyclerview:recyclerview:1.4.0")
implementation("androidx.autofill:autofill:1.1.0") implementation("androidx.autofill:autofill:1.1.0")
// kotlin // kotlin

View file

@ -237,7 +237,7 @@ class KeyboardParser(private val params: KeyboardParams, private val context: Co
{ it.label == KeyLabel.PERIOD || it.groupId == KeyData.GROUP_PERIOD}, { it.label == KeyLabel.PERIOD || it.groupId == KeyData.GROUP_PERIOD},
{ baseKeys.last()[1].copy(newGroupId = 2, newType = baseKeys.last()[1].type ?: it.type) } { baseKeys.last()[1].copy(newGroupId = 2, newType = baseKeys.last()[1].type ?: it.type) }
) )
baseKeys.removeLast() baseKeys.removeAt(baseKeys.lastIndex)
} }
// add zwnj key next to space if necessary // add zwnj key next to space if necessary
val spaceIndex = functionalKeysBottom.indexOfFirst { it.label == KeyLabel.SPACE && it.width <= 0 } // width could be 0 or -1 val spaceIndex = functionalKeysBottom.indexOfFirst { it.label == KeyLabel.SPACE && it.width <= 0 } // width could be 0 or -1