4.6.2 commit with Android Auto
This commit is contained in:
parent
ec8a7bf01c
commit
aebf0301f8
|
@ -9,7 +9,7 @@ plugins {
|
||||||
// from common.gradle
|
// from common.gradle
|
||||||
android {
|
android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk 21
|
minSdk 23
|
||||||
compileSdk 34
|
compileSdk 34
|
||||||
targetSdk 34
|
targetSdk 34
|
||||||
|
|
||||||
|
@ -149,8 +149,8 @@ android {
|
||||||
// Version code schema (not used):
|
// Version code schema (not used):
|
||||||
// "1.2.3-beta4" -> 1020304
|
// "1.2.3-beta4" -> 1020304
|
||||||
// "1.2.3" -> 1020395
|
// "1.2.3" -> 1020395
|
||||||
versionCode 3020126
|
versionCode 3020127
|
||||||
versionName "4.6.1"
|
versionName "4.6.2"
|
||||||
|
|
||||||
def commit = ""
|
def commit = ""
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:installLocation="auto">
|
android:installLocation="auto">
|
||||||
|
|
||||||
|
<!-- <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="34" />-->
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
||||||
|
@ -51,7 +53,7 @@
|
||||||
android:foregroundServiceType="mediaPlayback"
|
android:foregroundServiceType="mediaPlayback"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:enabled="true"
|
android:enabled="true"
|
||||||
android:exported="false"
|
android:exported="true"
|
||||||
tools:ignore="ExportedService">
|
tools:ignore="ExportedService">
|
||||||
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|
|
@ -1578,14 +1578,12 @@ class PlaybackService : MediaBrowserServiceCompat() {
|
||||||
fun skipIntroEndingPresetChanged(event: SkipIntroEndingChangedEvent) {
|
fun skipIntroEndingPresetChanged(event: SkipIntroEndingChangedEvent) {
|
||||||
if (playable is FeedMedia) {
|
if (playable is FeedMedia) {
|
||||||
if ((playable as FeedMedia).item?.feed?.id == event.feedId) {
|
if ((playable as FeedMedia).item?.feed?.id == event.feedId) {
|
||||||
// if (event.skipEnding != 0) {
|
|
||||||
val feedPreferences = (playable as FeedMedia).item?.feed?.preferences
|
val feedPreferences = (playable as FeedMedia).item?.feed?.preferences
|
||||||
if (feedPreferences != null) {
|
if (feedPreferences != null) {
|
||||||
Log.d(TAG, "skipIntroEndingPresetChanged ${event.skipIntro} ${event.skipEnding}")
|
Log.d(TAG, "skipIntroEndingPresetChanged ${event.skipIntro} ${event.skipEnding}")
|
||||||
feedPreferences.feedSkipIntro = event.skipIntro
|
feedPreferences.feedSkipIntro = event.skipIntro
|
||||||
feedPreferences.feedSkipEnding = event.skipEnding
|
feedPreferences.feedSkipEnding = event.skipEnding
|
||||||
}
|
}
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -237,3 +237,7 @@
|
||||||
|
|
||||||
* fixed bug on intro- and end- skipping
|
* 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