diff --git a/app/build.gradle b/app/build.gradle index 5e0c26eb5..63d3ed277 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -115,11 +115,11 @@ dependencies { implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'com.github.AppIntro:AppIntro:6.1.0' implementation 'io.github.medyo:android-about-page:2.0.0' - implementation 'com.google.android.exoplayer:exoplayer-core:2.11.8' - implementation 'com.google.android:flexbox:2.0.1' + implementation 'com.google.android.exoplayer:exoplayer-core:2.13.3' + implementation 'com.google.android.flexbox:flexbox:2.0.1' implementation 'com.google.android.material:material:1.4.0' implementation 'com.google.code.gson:gson:2.8.8' - implementation 'com.hopenlib.library:flextools:1.0.1' + implementation 'io.github.mrherintsoahasina:flextools:1.0.3' implementation 'com.ncorti:slidetoact:0.9.0' implementation 'io.noties.markwon:core:4.6.2' implementation 'org.greenrobot:eventbus:3.1.1' @@ -153,7 +153,7 @@ dependencies { androidTestImplementation "io.mockk:mockk-android:$mockkVersion" androidTestImplementation "junit:junit:$junitVersion" - androidTestFullImplementation 'tools.fastlane:screengrab:2.1.0' + androidTestFullImplementation 'tools.fastlane:screengrab:2.1.1' debugImplementation "androidx.fragment:fragment-testing:$fragmentVersion" } diff --git a/app/src/main/java/com/github/ashutoshgngwr/noice/ext/SimpleExoPlayerExt.kt b/app/src/main/java/com/github/ashutoshgngwr/noice/ext/SimpleExoPlayerExt.kt index 4b9499f6f..2215ba9c8 100644 --- a/app/src/main/java/com/github/ashutoshgngwr/noice/ext/SimpleExoPlayerExt.kt +++ b/app/src/main/java/com/github/ashutoshgngwr/noice/ext/SimpleExoPlayerExt.kt @@ -75,6 +75,6 @@ fun SimpleExoPlayer.setAudioAttributesCompat(compatAttrs: AudioAttributesCompat) .build() if (attrs != audioAttributes) { - audioAttributes = attrs + setAudioAttributes(attrs, false) } } diff --git a/app/src/main/res/layout/random_preset_fragment.xml b/app/src/main/res/layout/random_preset_fragment.xml index 662396cd0..42f5bff26 100644 --- a/app/src/main/res/layout/random_preset_fragment.xml +++ b/app/src/main/res/layout/random_preset_fragment.xml @@ -40,7 +40,7 @@ android:layout_width="match_parent" android:layout_height="8dp" /> - - + - - +