package com.discord.utilities.voice; import android.content.Context; import com.discord.utilities.voice.DiscordOverlayService; import d0.z.d.m; import d0.z.d.o; import java.lang.ref.WeakReference; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: DiscordOverlayService.kt */ public final class DiscordOverlayService$Companion$launchForConnect$2 extends o implements Function1 { public final /* synthetic */ WeakReference $weakContext; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public DiscordOverlayService$Companion$launchForConnect$2(WeakReference weakReference) { super(1); this.$weakContext = weakReference; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(String str) { invoke(str); return Unit.a; } public final void invoke(String str) { Context context = (Context) this.$weakContext.get(); if (context != null) { DiscordOverlayService.Companion companion = DiscordOverlayService.Companion; m.checkNotNullExpressionValue(str, "action"); DiscordOverlayService.Companion.tryStartOverlayService$default(companion, context, str, false, 4, null); } } }