mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-20 22:29:10 +00:00
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:
parent
f5bc89b91d
commit
0847bac3d5
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue