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