152 lines
5 KiB
Smali
152 lines
5 KiB
Smali
.class public final Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureUI$4;
|
|
.super Lt/u/b/k;
|
|
.source "WidgetGuildCall.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;->configureUI(Lcom/discord/widgets/voice/model/CallModel;ZZ)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lt/u/b/k;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $model:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;Lcom/discord/widgets/voice/model/CallModel;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureUI$4;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureUI$4;->$model:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lt/u/b/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureUI$4;->invoke()V
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final invoke()V
|
|
.locals 8
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getVoiceChannelSelected()Lcom/discord/stores/StoreVoiceChannelSelected;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreVoiceChannelSelected;->clear()V
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/feedback/WidgetCallFeedbackSheet;->Companion:Lcom/discord/widgets/voice/feedback/WidgetCallFeedbackSheet$Companion;
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureUI$4;->$model:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/voice/model/CallModel;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
|
|
|
move-result-wide v2
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureUI$4;->$model:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/voice/model/CallModel;->getRtcConnectionAnalyticsInfo()Lcom/discord/stores/StoreRtcConnection$RtcConnectionAnalyticsInfo;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreRtcConnection$RtcConnectionAnalyticsInfo;->getRtcConnectionId()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v0, v4
|
|
|
|
:goto_0
|
|
iget-object v5, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureUI$4;->$model:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
invoke-virtual {v5}, Lcom/discord/widgets/voice/model/CallModel;->getRtcConnectionAnalyticsInfo()Lcom/discord/stores/StoreRtcConnection$RtcConnectionAnalyticsInfo;
|
|
|
|
move-result-object v5
|
|
|
|
if-eqz v5, :cond_1
|
|
|
|
invoke-virtual {v5}, Lcom/discord/stores/StoreRtcConnection$RtcConnectionAnalyticsInfo;->getMediaSessionId()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
:cond_1
|
|
move-object v5, v4
|
|
|
|
iget-object v4, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureUI$4;->$model:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
invoke-virtual {v4}, Lcom/discord/widgets/voice/model/CallModel;->getTimeConnected()J
|
|
|
|
move-result-wide v6
|
|
|
|
invoke-static {v6, v7}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v6
|
|
|
|
iget-object v4, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureUI$4;->$model:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
invoke-virtual {v4}, Lcom/discord/widgets/voice/model/CallModel;->getCallFeedbackSampleRateDenominator()I
|
|
|
|
move-result v7
|
|
|
|
move-object v4, v0
|
|
|
|
invoke-virtual/range {v1 .. v7}, Lcom/discord/widgets/voice/feedback/WidgetCallFeedbackSheet$Companion;->enqueueNotice(JLjava/lang/String;Ljava/lang/String;Ljava/lang/Long;I)V
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureUI$4;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/app/AppFragment;->getAppActivity()Lcom/discord/app/AppActivity;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
invoke-virtual {v0}, Landroid/app/Activity;->finish()V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|