42 lines
1.7 KiB
Java
42 lines
1.7 KiB
Java
package com.discord.utilities.voice;
|
|
|
|
import android.view.View;
|
|
import c.a.y.v;
|
|
import com.discord.app.AppLog;
|
|
import com.discord.stores.StoreStream;
|
|
import com.discord.utilities.logging.Logger;
|
|
import com.discord.utilities.voice.DiscordOverlayService;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: DiscordOverlayService.kt */
|
|
public final class DiscordOverlayService$onCreate$2 extends o implements Function1<View, Unit> {
|
|
public final /* synthetic */ DiscordOverlayService this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public DiscordOverlayService$onCreate$2(DiscordOverlayService discordOverlayService) {
|
|
super(1);
|
|
this.this$0 = discordOverlayService;
|
|
}
|
|
|
|
/* 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(View view) {
|
|
invoke(view);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(View view) {
|
|
m.checkNotNullParameter(view, "it");
|
|
AppLog appLog = AppLog.g;
|
|
Logger.v$default(appLog, "OverlayService", "removeView: " + view, null, 4, null);
|
|
if (view instanceof v) {
|
|
StoreStream.Companion.getAnalytics().onOverlayVoiceEvent(false);
|
|
}
|
|
if (DiscordOverlayService.access$getOverlayManager$p(this.this$0).j.isEmpty()) {
|
|
DiscordOverlayService.Companion.tryStartOverlayService$default(DiscordOverlayService.Companion, this.this$0, "com.discord.actions.OVERLAY_CLOSE", false, 4, null);
|
|
}
|
|
}
|
|
}
|