mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2024-11-13 02:14:28 +01:00
fix(video-ads): clobber unused register
This commit is contained in:
parent
d2a7f1c078
commit
403c8583b0
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue