mirror of
https://github.com/MaintainTeam/Hypatia.git
synced 2025-03-01 05:48:23 +03:00
With all databases enabled the ThreadPool queue is exceed (25>16). This normally isn't an issue for other users of the pool as it will get pushed onto the main thread. But Android prohibits network activity on the main thread, which the downloader runs from. Increase it 32 which should be suitable for now. Maybe consider adding a separate pool in future. Fixes https://github.com/Divested-Mobile/Hypatia/issues/34 Fixes https://gitlab.com/divested-mobile/hypatia/-/issues/31 Signed-off-by: Tad <tad@spotco.us>
34 lines
892 B
Groovy
34 lines
892 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
defaultConfig {
|
|
applicationId "us.spotco.malwarescanner"
|
|
minSdkVersion 16
|
|
targetSdkVersion 32
|
|
versionCode 102
|
|
versionName "2.32"
|
|
resConfigs 'en', 'af', 'de', 'es', 'fi', 'fr', 'it', 'pl', 'pt', 'ru', 'tr', 'zh-rCN'
|
|
}
|
|
buildTypes {
|
|
debug {
|
|
applicationIdSuffix ".debug"
|
|
minifyEnabled true
|
|
zipAlignEnabled true
|
|
}
|
|
release {
|
|
shrinkResources true
|
|
minifyEnabled true
|
|
zipAlignEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
lint {
|
|
abortOnError false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'commons-io:commons-io:2.5'
|
|
implementation 'org.bouncycastle:bcpg-jdk15to18:1.73'
|
|
}
|