mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-10 12:29:23 +01:00
fix(video-ads): clobber unused register
This commit is contained in:
parent
8a857d54c8
commit
0feb6073dd
@ -48,9 +48,9 @@ class VideoAdsPatch : BytecodePatch(
|
|||||||
invoke-static { }, Lapp/revanced/integrations/patches/VideoAdsPatch;->shouldShowAds()Z
|
invoke-static { }, Lapp/revanced/integrations/patches/VideoAdsPatch;->shouldShowAds()Z
|
||||||
move-result v1
|
move-result v1
|
||||||
if-nez v1, :show_video_ads
|
if-nez v1, :show_video_ads
|
||||||
new-instance v0, Ljava/util/ArrayList;
|
new-instance v3, Ljava/util/ArrayList;
|
||||||
invoke-direct { v0 }, Ljava/util/ArrayList;-><init>()V
|
invoke-direct { v3 }, Ljava/util/ArrayList;-><init>()V
|
||||||
return-object v0
|
return-object v3
|
||||||
""",
|
""",
|
||||||
listOf(ExternalLabel("show_video_ads", method.instruction(0)))
|
listOf(ExternalLabel("show_video_ads", method.instruction(0)))
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user