feat: implement station navigation and update to SDK 37

- Implement `seekToNext` and `seekToPrevious` in `PlayerService` to allow switching between radio stations.
- Update `compileSdk` and `targetSdk` to 37 and bump version to 14.6.
- Modify `PlayerService` to remain active while paused to improve playback resumption.
- Modernize media resumption logic using Media3 `isRecent` check instead of legacy extras.
- Refactor `DefaultRenderersFactory` to use non-nullable `AudioSink` return types.
- General code cleanup using KTX extensions (e.g., `View.isEmpty()`) and Kotlin property access syntax.
This commit is contained in:
2026-05-07 13:40:35 +02:00
parent 0faeea7631
commit 7d6b0fe136
7 changed files with 53 additions and 26 deletions
+4 -4
View File
@@ -5,14 +5,14 @@ plugins {
android {
namespace = "com.michatec.radio"
compileSdk = 36
compileSdk = 37
defaultConfig {
applicationId = "com.michatec.radio"
minSdk = 28
targetSdk = 36
versionCode = 145
versionName = "14.5"
targetSdk = 37
versionCode = 146
versionName = "14.6"
}
compileOptions {