2020-07-08 16:44:49 +00:00
|
|
|
.class public final Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$configureMenu$1;
|
2020-05-17 12:40:10 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-07-08 16:44:49 +00:00
|
|
|
.source "WidgetCallFullscreen.kt"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lrx/functions/Action2;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
2020-07-08 16:44:49 +00:00
|
|
|
value = Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;->configureMenu(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$ViewState$Valid;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.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
|
2020-07-08 16:44:49 +00:00
|
|
|
.field public final synthetic $viewState:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$ViewState$Valid;
|
|
|
|
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-08-24 20:40:41 +00:00
|
|
|
.method public constructor <init>(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$ViewState$Valid;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$configureMenu$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
|
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
iput-object p2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$configureMenu$1;->$viewState:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$ViewState$Valid;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
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
|
2020-08-24 20:40:41 +00:00
|
|
|
.locals 8
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const-string v0, "menuItem"
|
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
const-string v0, "parentFragmentManager"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:pswitch_0
|
2020-08-24 20:40:41 +00:00
|
|
|
sget-object p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceSettingsBottomSheet;->Companion:Lcom/discord/widgets/voice/sheet/WidgetVoiceSettingsBottomSheet$Companion;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
iget-object p2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$configureMenu$1;->$viewState:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$ViewState$Valid;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
invoke-virtual {p2}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$ViewState$Valid;->getCallModel()Lcom/discord/widgets/voice/model/CallModel;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
move-result-object p2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
invoke-virtual {p2}, Lcom/discord/widgets/voice/model/CallModel;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
|
|
|
|
|
|
|
move-result-wide v1
|
|
|
|
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
move-result-object p2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$configureMenu$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->getParentFragmentManager()Landroidx/fragment/app/FragmentManager;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {v1, v0}, Lc0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-08-24 20:40:41 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2, v1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceSettingsBottomSheet$Companion;->show(Ljava/lang/Long;Landroidx/fragment/app/FragmentManager;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:pswitch_1
|
2020-08-24 20:40:41 +00:00
|
|
|
sget-object v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->Companion:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$Companion;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$configureMenu$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getParentFragmentManager()Landroidx/fragment/app/FragmentManager;
|
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
move-result-object v3
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {v3, v0}, Lc0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$configureMenu$1;->$viewState:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$ViewState$Valid;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$ViewState$Valid;->getCallModel()Lcom/discord/widgets/voice/model/CallModel;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/model/CallModel;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result-object p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
move-result-wide v4
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
const/4 v6, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
sget-object v7, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$FeatureContext;->FULLSCREEN_CALL:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$FeatureContext;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
invoke-virtual/range {v2 .. v7}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$Companion;->show(Landroidx/fragment/app/FragmentManager;JZLcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$FeatureContext;)Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance p2, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$configureMenu$1$1;
|
|
|
|
|
|
|
|
invoke-direct {p2, p0}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$configureMenu$1$1;-><init>(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$configureMenu$1;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, p2}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->setOnStreamPreviewClickedListener(Lkotlin/jvm/functions/Function1;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:pswitch_2
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$configureMenu$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {p1}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;->access$getViewModel$p(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;)Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel;->switchCameraInputPressed()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:pswitch_3
|
2020-05-17 12:40:10 +00:00
|
|
|
sget-object p1, Lcom/discord/utilities/voice/DiscordOverlayService;->Companion:Lcom/discord/utilities/voice/DiscordOverlayService$Companion;
|
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
const-string v0, "context"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p2, v0}, Lc0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-24 20:40:41 +00:00
|
|
|
invoke-virtual {p1, p2}, Lcom/discord/utilities/voice/DiscordOverlayService$Companion;->launchForConnect(Landroid/content/Context;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:pswitch_data_0
|
2020-09-17 00:45:48 +00:00
|
|
|
.packed-switch 0x7f0a060d
|
2020-05-17 12:40:10 +00:00
|
|
|
: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;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$configureMenu$1;->call(Landroid/view/MenuItem;Landroid/content/Context;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|