diff --git a/CHANGELOG.md b/CHANGELOG.md index e6d67b1..340021c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,13 @@ +## v1.0.1-Stable (08.12.2024) +* Minor UI improvements. +* [FIX] Resolved a crash caused by releasing the media session instance multiple times. + ## v1.0.0-Stable (24.11.2024) * Stable version ! * The interface has been completely redesigned for a sleeker and more intuitive user experience. * Performance enhancements have been implemented to ensure a smoother and faster experience. * The music player has been improved for a better listening experience. -* Shuffle playback feature has been added for a more dynamic music experience +* Shuffle playback feature has been added for a more dynamic music experience. ## v1.0.0-Beta3 (09.10.2024) * [FIX] The version was upgraded due to an issue in the Explode module. diff --git a/app/build.gradle.kts b/app/build.gradle.kts index d6f5ad0..48e31cc 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -19,8 +19,8 @@ android { applicationId = "com.snstudio.hyper" minSdk = 26 targetSdk = 34 - versionCode = 5 - versionName = "1.0.0" + versionCode = 6 + versionName = "1.0.1" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/com/snstudio/hyper/service/MusicPlayerService.kt b/app/src/main/java/com/snstudio/hyper/service/MusicPlayerService.kt index d1f77f3..a93b275 100644 --- a/app/src/main/java/com/snstudio/hyper/service/MusicPlayerService.kt +++ b/app/src/main/java/com/snstudio/hyper/service/MusicPlayerService.kt @@ -64,8 +64,6 @@ class MusicPlayerService : MediaLibraryService() { super.onTaskRemoved(rootIntent) stopSelf() stopForeground(STOP_FOREGROUND_REMOVE) - player.release() - session.release() } override fun onGetSession(controllerInfo: MediaSession.ControllerInfo): MediaLibrarySession { @@ -73,8 +71,8 @@ class MusicPlayerService : MediaLibraryService() { } override fun onDestroy() { + super.onDestroy() player.release() session.release() - super.onDestroy() } } diff --git a/app/src/main/res/layout/item_add_music.xml b/app/src/main/res/layout/item_add_music.xml index c794679..91fadca 100644 --- a/app/src/main/res/layout/item_add_music.xml +++ b/app/src/main/res/layout/item_add_music.xml @@ -24,10 +24,11 @@ app:layout_constraintTop_toTopOf="parent" />