straw/app
TobiGr 718335d733 fix(player): Fix scaleX being NaN on minimize to background app switch
This aims to fix the following Exception which might occour when watching a live stream and switching the app while 'minimize to backgorund' is enabled:

java.lang.IllegalArgumentException: Cannot set 'scaleX' to Float.NaN
	at android.view.View.sanitizeFloatPropertyValue(View.java:17479)
	at android.view.View.sanitizeFloatPropertyValue(View.java:17453)
	at android.view.View.setScaleX(View.java:16822)
	at org.schabi.newpipe.views.ExpandableSurfaceView.onLayout(ExpandableSurfaceView.java:71)

scaleX is set in onMeasure() in which width could be 0 in theory and this leading to a division by zero of a float which results in an assignment of Float.NaN.
2025-12-29 16:30:20 +01:00
..
sampledata Larger channel cards in search results 2023-02-09 06:15:22 +05:30
schemas/org.schabi.newpipe.database.AppDatabase Migrate database logic to Kotlin 2025-11-03 16:14:29 +08:00
src fix(player): Fix scaleX being NaN on minimize to background app switch 2025-12-29 16:30:20 +01:00
build.gradle.kts acra: Relocate autoservice dependencies under acra block 2025-11-29 19:54:36 +08:00
proguard-rules.pro Update NewPipe Extractor and add new proguard rules 2025-05-07 12:50:37 +02:00