1
0
Fork 0

fixed deprecated way of assignment in build.gradle

This commit is contained in:
sspanak 2025-06-16 17:22:19 +03:00 committed by Dimo Karaivanov
parent 612ab66075
commit 5f459ee3dd
2 changed files with 14 additions and 13 deletions

View file

@ -95,23 +95,23 @@ def getVersionString = { flavor -> return flavor == 'debug' ? getDebugVersion()
android {
namespace PACKAGE_NAME
compileSdk 35
namespace = PACKAGE_NAME
compileSdk = 35
defaultConfig {
applicationId PACKAGE_NAME
buildFeatures.buildConfig true
minSdk 21
targetSdk 35
versionCode getVerCode()
versionName getVerName()
applicationId = PACKAGE_NAME
buildFeatures.buildConfig = true
minSdk = 21
targetSdk = 35
versionCode = getVerCode()
versionName = getVerName()
buildConfigField 'String', 'DICTIONARY_EXTENSION', "\"${DICTIONARY_OUTPUT_EXTENSION}\""
buildConfigField 'String', 'DOCS_DIR', "\"${DOCS_DIR_NAME}\""
buildConfigField 'String', 'DONATION_URL', "\"${getDonationUrl()}\""
// F-droid hacks
dependenciesInfo.includeInApk false
dependenciesInfo.includeInApk = false
vectorDrawables.generatedDensities = []
}
@ -122,10 +122,10 @@ android {
release {
buildConfigField 'String', 'VERSION_FULL', "\"${getVersionString('release')}\""
debuggable false
jniDebuggable false
minifyEnabled true
shrinkResources true
debuggable = false
jniDebuggable = false
minifyEnabled = true
shrinkResources = true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

View file

@ -372,6 +372,7 @@ public abstract class TypingHandler extends KeyPadHandler {
protected void onAcceptSuggestionAutomatically(String word) {
mInputMode.onAcceptSuggestion(word, true);
autoCorrectSpace(word, false, mInputMode.getSequence().isEmpty() ? -1 : mInputMode.getSequence().charAt(0) - '0');
mInputMode.determineNextWordTextCase(-1);
}
private void onAcceptSuggestionsDelayed(String word) {