4.6.2 commit with Android Auto
This commit is contained in:
parent
ec8a7bf01c
commit
aebf0301f8
|
@ -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 {
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:installLocation="auto">
|
||||
|
||||
<!-- <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="34" />-->
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
||||
|
@ -51,7 +53,7 @@
|
|||
android:foregroundServiceType="mediaPlayback"
|
||||
android:label="@string/app_name"
|
||||
android:enabled="true"
|
||||
android:exported="false"
|
||||
android:exported="true"
|
||||
tools:ignore="ExportedService">
|
||||
|
||||
<intent-filter>
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 )
|
||||
* 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
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
Version 4.6.2 brings several changes:
|
||||
|
||||
* it should now work on Android Auto
|
Loading…
Reference in New Issue