diff --git a/app/build.gradle b/app/build.gradle index a515a510..e5696339 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ plugins { // from common.gradle android { defaultConfig { - minSdk 21 + minSdk 23 compileSdk 34 targetSdk 34 @@ -149,8 +149,8 @@ android { // Version code schema (not used): // "1.2.3-beta4" -> 1020304 // "1.2.3" -> 1020395 - versionCode 3020126 - versionName "4.6.1" + versionCode 3020127 + versionName "4.6.2" def commit = "" try { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0b8835df..2a1d8bcc 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -3,6 +3,8 @@ xmlns:tools="http://schemas.android.com/tools" android:installLocation="auto"> + + diff --git a/app/src/main/java/ac/mdiq/podcini/service/playback/PlaybackService.kt b/app/src/main/java/ac/mdiq/podcini/service/playback/PlaybackService.kt index be0cd785..5c15f5d0 100644 --- a/app/src/main/java/ac/mdiq/podcini/service/playback/PlaybackService.kt +++ b/app/src/main/java/ac/mdiq/podcini/service/playback/PlaybackService.kt @@ -1578,14 +1578,12 @@ class PlaybackService : MediaBrowserServiceCompat() { fun skipIntroEndingPresetChanged(event: SkipIntroEndingChangedEvent) { if (playable is FeedMedia) { if ((playable as FeedMedia).item?.feed?.id == event.feedId) { -// if (event.skipEnding != 0) { - val feedPreferences = (playable as FeedMedia).item?.feed?.preferences - if (feedPreferences != null) { - Log.d(TAG, "skipIntroEndingPresetChanged ${event.skipIntro} ${event.skipEnding}") - feedPreferences.feedSkipIntro = event.skipIntro - feedPreferences.feedSkipEnding = event.skipEnding - } -// } + val feedPreferences = (playable as FeedMedia).item?.feed?.preferences + if (feedPreferences != null) { + Log.d(TAG, "skipIntroEndingPresetChanged ${event.skipIntro} ${event.skipEnding}") + feedPreferences.feedSkipIntro = event.skipIntro + feedPreferences.feedSkipEnding = event.skipEnding + } } } } diff --git a/changelog.md b/changelog.md index 19790297..2e5bf1e5 100644 --- a/changelog.md +++ b/changelog.md @@ -236,4 +236,8 @@ ## 4.6.1 * fixed bug on intro- and end- skipping -* new notice on need of notifications for Android 13 and newer (in selected languages only ) \ No newline at end of file +* new notice on need of notifications for Android 13 and newer (in selected languages only ) + +## 4.6.2 + +* it should now work on Android Auto \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/changelogs/3020127.txt b/fastlane/metadata/android/en-US/changelogs/3020127.txt new file mode 100644 index 00000000..bf4d211e --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/3020127.txt @@ -0,0 +1,4 @@ + +Version 4.6.2 brings several changes: + +* it should now work on Android Auto