mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-09 11:04:36 +02:00
fix(YouTube): App crashes under certain conditions
This commit is contained in:
parent
f1d04b5323
commit
a9f7384929
@ -421,7 +421,10 @@ val videoInformationPatch = bytecodePatch(
|
|||||||
|
|
||||||
# Get the container class field.
|
# Get the container class field.
|
||||||
iget-object v0, v2, $setPlaybackSpeedContainerClassFieldReference
|
iget-object v0, v2, $setPlaybackSpeedContainerClassFieldReference
|
||||||
|
|
||||||
|
# For some reason, in YouTube 19.44.39 this value is sometimes null.
|
||||||
|
if-eqz v0, :ignore
|
||||||
|
|
||||||
# Get the field from its class.
|
# Get the field from its class.
|
||||||
iget-object v1, v0, $setPlaybackSpeedClassFieldReference
|
iget-object v1, v0, $setPlaybackSpeedClassFieldReference
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user