bug(YouTube Music/Player components): Crash at first launch on old clients #2377
Closed
6 tasks done
Labels
Bug report
Something isn't working
Type
Error at runtime
Tools used
CLI
Application
YouTube Music v6.29.58, v6.20.51
Bug description
App crashes at first launch.
restoreOldPlayerLayout() is causing this problem.
Error logs
Solution
This is caused by
Settings.SETTINGS_INITIALIZED
being set to true too early.In the
InitializationPatch
, increase the delay to at least 3000 ms.https://github.com/inotia00/revanced-integrations/blob/3362fe5fc194f89be984e728e36d2b88081e1111/app/src/main/java/app/revanced/integrations/music/patches/utils/InitializationPatch.java#L27
2500 ms was crashed.
The delay of restart dialog is also have to be increased to same value.
Additional context
No response
Device Environment
Android 14, Pixel 3
Acknowledgements
Experimental Flags
.The text was updated successfully, but these errors were encountered: