Update exoplayer

Bump exoplayer to 2.12.3
This commit is contained in:
OxygenCobalt
2021-02-17 10:39:15 -07:00
parent cccf6ba9f8
commit 1d1da1fac2
5 changed files with 13 additions and 9 deletions
@@ -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() {