Update exoplayer
Bump exoplayer to 2.12.3
This commit is contained in:
parent
cccf6ba9f8
commit
1d1da1fac2
5 changed files with 13 additions and 9 deletions
|
@ -12,7 +12,7 @@ android {
|
|||
minSdkVersion 21
|
||||
targetSdkVersion 30
|
||||
versionCode 2 // Code 1 officially responds to 1.2, anything higher is 1.3 onwards
|
||||
versionName "1.2.0"
|
||||
versionName "1.3.0"
|
||||
|
||||
buildFeatures {
|
||||
dataBinding true
|
||||
|
@ -89,7 +89,7 @@ dependencies {
|
|||
// --- THIRD PARTY ---
|
||||
|
||||
// ExoPlayer
|
||||
def exoplayer_version = "2.12.1"
|
||||
def exoplayer_version = "2.12.3"
|
||||
implementation "com.google.android.exoplayer:exoplayer-core:$exoplayer_version"
|
||||
implementation "com.google.android.exoplayer:extension-mediasession:$exoplayer_version"
|
||||
|
||||
|
|
|
@ -45,6 +45,10 @@ class PlayPauseButton @JvmOverloads constructor(
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Hack that fixes an issue where a seam would display in the middle of the play button,
|
||||
* probably as a result of floating point precision errors. Gotta love IEEE 754.
|
||||
*/
|
||||
@RequiresApi(Build.VERSION_CODES.M)
|
||||
private fun fixSeams() {
|
||||
iconPauseToPlay.registerAnimationCallback(object : Animatable2.AnimationCallback() {
|
||||
|
|
|
@ -19,14 +19,14 @@
|
|||
<path
|
||||
android:name="play_upper"
|
||||
android:fillColor="#FF000000"
|
||||
android:strokeColor="#00000000"
|
||||
android:pathData="m 8.2501424,6.0001505 v 5.9996335 6.000151 L 18.749759,11.999784 Z" />
|
||||
android:pathData="m 8.2501424,6.0001505 v 5.9996335 6.000151 L 18.749759,11.999784 Z"
|
||||
android:strokeColor="#00000000" />
|
||||
|
||||
<path
|
||||
android:name="play_lower"
|
||||
android:fillColor="#FF000000"
|
||||
android:strokeColor="#00000000"
|
||||
android:pathData="m 8.2501424,6.0001505 v 5.9996335 6.000151 L 18.749759,11.999784 Z" />
|
||||
android:pathData="m 8.2501424,6.0001505 v 5.9996335 6.000151 L 18.749759,11.999784 Z"
|
||||
android:strokeColor="#00000000" />
|
||||
|
||||
</group>
|
||||
|
||||
|
|
|
@ -20,5 +20,5 @@
|
|||
android:title="@string/label_sort_alpha_up" />
|
||||
</group>
|
||||
</menu>
|
||||
</item>-
|
||||
</item>
|
||||
</menu>
|
|
@ -4,6 +4,6 @@
|
|||
- Added search filtering
|
||||
- Fixed issue where audio focus would resume playback when it shouldn't
|
||||
- Fixed crashes with song selection/startup
|
||||
- Fixed issue where keyboard wouldnt disappear on search
|
||||
- Fixed issue where rewinding wouldnt cause playback to start again
|
||||
- Fixed issue where keyboard wouldn't disappear on search
|
||||
- Fixed issue where rewinding wouldn't cause playback to start again
|
||||
- Artist play button now works again
|
Loading…
Reference in a new issue