- Decode received Opus audio: handle svxlink self-delimited framing and provide monotonic PTS (c2.opus.decoder discards output when PTS == 0) - Keep connection and playback alive in background via SvxService (foreground service, media playback type) - Keep screen on while app is open - Show last talker callsign persistently instead of clearing after 4s - Bump versionCode to 2, disable lint on release builds
54 lines
984 B
Kotlin
54 lines
984 B
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "ru.ua1zbe.svxremote"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "ru.ua1zbe.svxremote"
|
|
minSdk = 26
|
|
targetSdk = 34
|
|
versionCode = 2
|
|
versionName = "1.0.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
}
|
|
}
|
|
|
|
lint {
|
|
checkReleaseBuilds = false
|
|
abortOnError = false
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation("junit:junit:4.13.2")
|
|
}
|
|
|
|
android {
|
|
testOptions {
|
|
unitTests {
|
|
isReturnDefaultValues = true
|
|
all {
|
|
it.maxHeapSize = "256m"
|
|
}
|
|
}
|
|
}
|
|
} |