242 lines
9 KiB
Smali
242 lines
9 KiB
Smali
|
.class public final Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureMenu$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "WidgetGuildCall.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lrx/functions/Action2;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;->configureMenu(Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;)V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T1:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"T2:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">",
|
||
|
"Ljava/lang/Object;",
|
||
|
"Lrx/functions/Action2<",
|
||
|
"Landroid/view/MenuItem;",
|
||
|
"Landroid/content/Context;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final synthetic $callModel: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$configureMenu$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;
|
||
|
|
||
|
iput-object p2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureMenu$1;->$callModel:Lcom/discord/widgets/voice/model/CallModel;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final call(Landroid/view/MenuItem;Landroid/content/Context;)V
|
||
|
.locals 8
|
||
|
|
||
|
const-string v0, "menuItem"
|
||
|
|
||
|
invoke-static {p1, v0}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const-string v0, "context"
|
||
|
|
||
|
packed-switch p1, :pswitch_data_0
|
||
|
|
||
|
goto/16 :goto_0
|
||
|
|
||
|
:pswitch_0
|
||
|
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsVoice;->Companion:Lcom/discord/widgets/settings/WidgetSettingsVoice$Companion;
|
||
|
|
||
|
invoke-static {p2, v0}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v2, p2
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lcom/discord/widgets/settings/WidgetSettingsVoice$Companion;->launch$default(Lcom/discord/widgets/settings/WidgetSettingsVoice$Companion;Landroid/content/Context;Ljava/lang/Integer;ZILjava/lang/Object;)V
|
||
|
|
||
|
goto/16 :goto_0
|
||
|
|
||
|
:pswitch_1
|
||
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureMenu$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;
|
||
|
|
||
|
invoke-static {p1}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;->access$getViewModel$p(Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;)Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
sget-object p2, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;->LIST:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;
|
||
|
|
||
|
invoke-virtual {p1, p2}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel;->targetDisplayMode(Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:pswitch_2
|
||
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureMenu$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;
|
||
|
|
||
|
invoke-static {p1}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;->access$getViewModel$p(Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;)Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
sget-object p2, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;->GRID:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;
|
||
|
|
||
|
invoke-virtual {p1, p2}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel;->targetDisplayMode(Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:pswitch_3
|
||
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureMenu$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;
|
||
|
|
||
|
invoke-static {p1}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;->access$getViewModel$p(Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;)Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel;->switchCameraInputPressed()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:pswitch_4
|
||
|
sget-object p1, Lcom/discord/utilities/voice/DiscordOverlayService;->Companion:Lcom/discord/utilities/voice/DiscordOverlayService$Companion;
|
||
|
|
||
|
invoke-static {p2, v0}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p1, p2}, Lcom/discord/utilities/voice/DiscordOverlayService$Companion;->launchForConnect(Landroid/content/Context;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:pswitch_5
|
||
|
sget-object v1, Lcom/discord/widgets/guilds/invite/WidgetGuildInviteShare;->Companion:Lcom/discord/widgets/guilds/invite/WidgetGuildInviteShare$Companion;
|
||
|
|
||
|
invoke-static {p2, v0}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureMenu$1;->$callModel:Lcom/discord/widgets/voice/model/CallModel;
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/model/CallModel;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||
|
|
||
|
move-result-wide v4
|
||
|
|
||
|
invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
const/4 v6, 0x2
|
||
|
|
||
|
const/4 v7, 0x0
|
||
|
|
||
|
const-string v5, "Guild Voice"
|
||
|
|
||
|
move-object v2, p2
|
||
|
|
||
|
invoke-static/range {v1 .. v7}, Lcom/discord/widgets/guilds/invite/WidgetGuildInviteShare$Companion;->launch$default(Lcom/discord/widgets/guilds/invite/WidgetGuildInviteShare$Companion;Landroid/content/Context;ZLjava/lang/Long;Ljava/lang/String;ILjava/lang/Object;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:pswitch_6
|
||
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureMenu$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;
|
||
|
|
||
|
invoke-static {p1}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;->access$getViewModel$p(Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;)Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const/4 p2, 0x1
|
||
|
|
||
|
invoke-virtual {p1, p2}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel;->enableNoiseCancellation(Z)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:pswitch_7
|
||
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureMenu$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;
|
||
|
|
||
|
invoke-static {p1}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;->access$getViewModel$p(Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall;)Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
invoke-virtual {p1, p2}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel;->enableNoiseCancellation(Z)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:pswitch_8
|
||
|
sget-object p1, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings;->Companion:Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Companion;
|
||
|
|
||
|
iget-object v1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureMenu$1;->$callModel:Lcom/discord/widgets/voice/model/CallModel;
|
||
|
|
||
|
invoke-virtual {v1}, Lcom/discord/widgets/voice/model/CallModel;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||
|
|
||
|
move-result-wide v1
|
||
|
|
||
|
invoke-static {p2, v0}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p1, v1, v2, p2}, Lcom/discord/widgets/voice/settings/WidgetVoiceChannelSettings$Companion;->launch(JLandroid/content/Context;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-void
|
||
|
|
||
|
:pswitch_data_0
|
||
|
.packed-switch 0x7f0a0533
|
||
|
:pswitch_8
|
||
|
:pswitch_7
|
||
|
:pswitch_6
|
||
|
:pswitch_5
|
||
|
:pswitch_4
|
||
|
:pswitch_3
|
||
|
:pswitch_2
|
||
|
:pswitch_1
|
||
|
:pswitch_0
|
||
|
.end packed-switch
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic call(Ljava/lang/Object;Ljava/lang/Object;)V
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Landroid/view/MenuItem;
|
||
|
|
||
|
check-cast p2, Landroid/content/Context;
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCall$configureMenu$1;->call(Landroid/view/MenuItem;Landroid/content/Context;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|