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() {
+4 -4
View File
@@ -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>
+1 -1
View File
@@ -20,5 +20,5 @@
android:title="@string/label_sort_alpha_up" />
</group>
</menu>
</item>-
</item>
</menu>