61 lines
3.4 KiB
Java
61 lines
3.4 KiB
Java
|
package com.discord.stores;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import com.discord.api.channel.Channel;
|
||
|
import com.discord.rtcconnection.mediaengine.MediaEngine;
|
||
|
import com.discord.utilities.analytics.AnalyticsTracker;
|
||
|
import com.discord.utilities.rx.ObservableExtensionsKt;
|
||
|
import d0.z.d.m;
|
||
|
import d0.z.d.o;
|
||
|
import java.util.Map;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function0;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: StoreAnalytics.kt */
|
||
|
public final class StoreAnalytics$trackVoiceConnectionSuccess$1 extends o implements Function0<Unit> {
|
||
|
public final /* synthetic */ Map $properties;
|
||
|
public final /* synthetic */ StoreAnalytics this$0;
|
||
|
|
||
|
/* compiled from: StoreAnalytics.kt */
|
||
|
/* renamed from: com.discord.stores.StoreAnalytics$trackVoiceConnectionSuccess$1$1 reason: invalid class name */
|
||
|
public static final class AnonymousClass1 extends o implements Function1<MediaEngine.AudioInfo, Unit> {
|
||
|
public final /* synthetic */ Channel $channel;
|
||
|
public final /* synthetic */ StoreAnalytics$trackVoiceConnectionSuccess$1 this$0;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public AnonymousClass1(StoreAnalytics$trackVoiceConnectionSuccess$1 storeAnalytics$trackVoiceConnectionSuccess$1, Channel channel) {
|
||
|
super(1);
|
||
|
this.this$0 = storeAnalytics$trackVoiceConnectionSuccess$1;
|
||
|
this.$channel = channel;
|
||
|
}
|
||
|
|
||
|
/* 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(MediaEngine.AudioInfo audioInfo) {
|
||
|
invoke(audioInfo);
|
||
|
return Unit.a;
|
||
|
}
|
||
|
|
||
|
public final void invoke(MediaEngine.AudioInfo audioInfo) {
|
||
|
m.checkNotNullParameter(audioInfo, "audioInfo");
|
||
|
AnalyticsTracker analyticsTracker = AnalyticsTracker.INSTANCE;
|
||
|
StoreAnalytics$trackVoiceConnectionSuccess$1 storeAnalytics$trackVoiceConnectionSuccess$1 = this.this$0;
|
||
|
analyticsTracker.voiceConnectionSuccess(storeAnalytics$trackVoiceConnectionSuccess$1.$properties, audioInfo, this.$channel, StoreAnalytics.access$getStores$p(storeAnalytics$trackVoiceConnectionSuccess$1.this$0).getRtcRegion$app_productionBetaRelease().getPreferredRegion());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public StoreAnalytics$trackVoiceConnectionSuccess$1(StoreAnalytics storeAnalytics, Map map) {
|
||
|
super(0);
|
||
|
this.this$0 = storeAnalytics;
|
||
|
this.$properties = map;
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.jvm.functions.Function0
|
||
|
/* renamed from: invoke */
|
||
|
public final void mo1invoke() {
|
||
|
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.computationLatest(StoreAnalytics.access$getStores$p(this.this$0).getMediaEngine$app_productionBetaRelease().getMediaEngine().f()), this.this$0.getClass(), (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new AnonymousClass1(this, StoreAnalytics.access$getStores$p(this.this$0).getChannels$app_productionBetaRelease().findChannelByIdInternal$app_productionBetaRelease(StoreAnalytics.access$getStores$p(this.this$0).getVoiceChannelSelected$app_productionBetaRelease().getSelectedVoiceChannelId())), 62, (Object) null);
|
||
|
}
|
||
|
}
|