fix(video-ads): clobber unused register

This commit is contained in:
oSumAtrIX 2022-10-10 15:06:27 +02:00
parent d2a7f1c078
commit 403c8583b0

View file

@ -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)))
)