straw/app/src/main/java/org/schabi/newpipe
TobiGr 07d4ed5735 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
..
about Fix deprecation of Bundle.getSerializable(String) by using BundleCompat 2025-12-10 14:42:52 +01:00
database Fix retrieving incomplete data for SubscriptionEntity 2025-12-26 21:57:26 +01:00
download Even more centralized error handling in ErrorInfo 2025-09-05 12:39:16 +02:00
error Even more centralized error handling in ErrorInfo 2025-09-05 12:39:16 +02:00
fragments Merge pull request #12781 from iampopovich/feat/similar-youtube-client-screen-rotation 2025-12-14 04:43:19 -08:00
info_list Don't swallow error when trying to mark stream as watched 2025-12-03 17:23:53 +08:00
ktx Merge pull request #12044 from TeamNewPipe/android-auto 2025-03-21 11:21:58 +01:00
local Removed badly hacked default playlist thumbnail icon 2025-11-06 15:43:07 +08:00
player Use context.getString() shorthand instead of context.getResources().getString() 2025-12-27 23:12:37 +01:00
settings Call checkpoint creation from an executor 2025-11-18 12:03:32 +08:00
streams Merge pull request #12575 from TransZAllen/dev 2025-10-30 14:27:39 -07:00
util Convert newpipe/util/KioskTranslator.java to kotlin 2025-12-27 23:13:17 +01:00
views fix(player): Fix scaleX being NaN on minimize to background app switch 2025-12-29 16:30:20 +01:00
App.java moved field as requested 2025-10-26 05:32:12 +11:00
BaseFragment.java Replaced `Icepick with Bridge and Android-State` 2024-10-23 21:28:07 +02:00
DownloaderImpl.java Update USER_AGENT to Firefox 140 ESR 2025-07-27 09:39:53 +02:00
ExitActivity.java Clean up pre-Lollipop checks 2022-07-13 19:02:24 +02:00
MainActivity.java Merge branch 'master' into dev 2025-07-31 23:52:01 +02:00
NewPipeDatabase.kt Migrate database logic to Kotlin 2025-11-03 16:14:29 +08:00
NewVersionWorker.kt Convert isReleaseApk to lazy value 2024-03-20 14:00:13 +01:00
PanicResponderActivity.java Clean up pre-Lollipop checks 2022-07-13 19:02:24 +02:00
QueueItemMenuUtil.java Support obtaining multiple images from the extractor 2023-09-22 09:57:33 +02:00
RouterActivity.java Fix rebase 2025-12-20 21:23:58 +01:00