v4.4.2 - Fixed transceivers retention, various minor tweaks
This commit is contained in:
1 parent
f4aef4f4f0
commit
7b6fb5eb8f
7 files changed
+20
-16
No files matched your search
@@ -8,5 +8,6 @@ plugins {
|
||||
}
|
||||
|
||||
tasks.register("clean", Delete::class.java) {
|
||||
description = "Cleans the build directory"
|
||||
delete(rootProject.layout.buildDirectory)
|
||||
}
|
||||
@@ -74,7 +74,6 @@ class LocalSource(private val look4SatDao: Look4SatDao) : ILocalSource {
|
||||
}
|
||||
|
||||
override suspend fun insertRadios(radios: List<SatRadio>) {
|
||||
look4SatDao.deleteRadios()
|
||||
look4SatDao.insertRadios(radios.toFrameworkRadios())
|
||||
}
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ import kotlinx.coroutines.CoroutineDispatcher
|
||||
import kotlinx.coroutines.withContext
|
||||
import okhttp3.OkHttpClient
|
||||
import okhttp3.Request
|
||||
import java.io.ByteArrayInputStream
|
||||
import java.io.InputStream
|
||||
|
||||
class RemoteSource(
|
||||
@@ -45,7 +46,10 @@ class RemoteSource(
|
||||
override suspend fun getNetworkStream(url: String): InputStream? = withContext(dispatcher) {
|
||||
try {
|
||||
val networkRequest = Request.Builder().url(url).build()
|
||||
httpClient.newCall(networkRequest).execute().body.byteStream()
|
||||
httpClient.newCall(networkRequest).execute().use { response ->
|
||||
if (!response.isSuccessful) return@withContext null
|
||||
ByteArrayInputStream(response.body.bytes())
|
||||
}
|
||||
} catch (exception: Exception) {
|
||||
println("RemoteSource network stream exception: $exception")
|
||||
null
|
||||
|
||||
@@ -49,9 +49,9 @@
|
||||
\n\nPlease update the database at least weekly to get accurate predictions.</string>
|
||||
<string name="pass_whatsnew_title" translatable="false">What\'s new in Look4Sat</string>
|
||||
<string name="pass_whatsnew_message" translatable="false">
|
||||
* Enabled continuous SSTV decoding for manually selected types (Play button enables/disables decoding)
|
||||
\n\n* Added selected transceiver\'s frequency display to SSTV page
|
||||
\n\n* Fixed Reset/Save/Play buttons behavior and states on SSTV page
|
||||
* Fixed transceivers retention on a failed fetch from server
|
||||
\n\n* Fixed SSTV frequency display, no transceiver selected hint
|
||||
\n\n* Fixed All satellite category retention on Satellites screen
|
||||
</string>
|
||||
|
||||
<!-- Radar screen -->
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
* Enabled continuous SSTV decoding for manually selected types (Play button enables/disables decoding)
|
||||
* Added selected transceiver\'s frequency display to SSTV page
|
||||
* Fixed Reset/Save/Play buttons behavior and states on SSTV page
|
||||
* Fixed transceivers retention on a failed fetch from server
|
||||
* Fixed SSTV frequency display, no transceiver selected hint
|
||||
* Fixed All satellite category retention on Satellites screen
|
||||
@@ -1,8 +1,8 @@
|
||||
[versions]
|
||||
#noinspection UnusedVersionCatalogEntry
|
||||
appVersionCode = "441"
|
||||
appVersionCode = "442"
|
||||
#noinspection UnusedVersionCatalogEntry
|
||||
appVersionName = "4.4.1"
|
||||
appVersionName = "4.4.2"
|
||||
#noinspection GradleDependency,UnusedVersionCatalogEntry
|
||||
compileSdk = "36"
|
||||
#noinspection UnusedVersionCatalogEntry
|
||||
@@ -18,18 +18,18 @@ androidx-core-ktx = "1.18.0"
|
||||
androidx-core-splashscreen = "1.2.0"
|
||||
androidx-room = "2.8.4"
|
||||
|
||||
compose-bom = "2026.05.01"
|
||||
compose-bom = "2026.06.00"
|
||||
compose-activity = "1.13.0"
|
||||
compose-lifecycle = "2.10.0"
|
||||
compose-navigation3 = "1.1.2"
|
||||
compose-navigation3 = "1.1.3"
|
||||
|
||||
google-ksp = "2.3.7"
|
||||
google-ksp = "2.3.8"
|
||||
|
||||
kotlin = "2.4.0"
|
||||
kotlin-coroutines = "1.11.0"
|
||||
kotlin-serialization = "1.11.0"
|
||||
|
||||
other-okhttp = "5.3.2"
|
||||
other-okhttp = "5.4.0"
|
||||
other-osmdroid = "6.1.20"
|
||||
|
||||
test-junit4 = "4.13.2"
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
#Mon May 25 11:20:48 BST 2026
|
||||
#Sun Jun 21 14:57:04 BST 2026
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.0-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
Reference in new issue
Block a user