1857 lines
65 KiB
Smali
1857 lines
65 KiB
Smali
.class public final Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
.super Lcom/discord/app/AppBottomSheet;
|
|
.source "WidgetVoiceBottomSheet.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$FeatureContext;,
|
|
Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$ViewState;,
|
|
Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$CenterContent;,
|
|
Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent;,
|
|
Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
.field public static final ARG_FEATURE_CONTEXT:Ljava/lang/String; = "ARG_FEATURE_CONTEXT"
|
|
|
|
.field public static final ARG_FORWARD_TO_FULLSCREEN_IF_VIDEO_ACTIVATED:Ljava/lang/String; = "ARG_FORWARD_TO_FULLSCREEN_IF_VIDEO_ACTIVATED"
|
|
|
|
.field public static final Companion:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$Companion;
|
|
|
|
|
|
# instance fields
|
|
.field public final connectBtn$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final connectContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final connectVideoBtn$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final controls$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final emptyStateContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public featureContext:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$FeatureContext;
|
|
|
|
.field public final headerInviteButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final headerNoiseCancellationButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final headerSettingsButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public onStreamPreviewClickedListener:Lkotlin/jvm/functions/Function1;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Lcom/discord/utilities/streams/StreamContext;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public participantsAdapter:Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;
|
|
|
|
.field public final participantsRecycler$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final root$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final subtitle$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final title$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public viewModel:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
.field public viewModelEventSubscription:Lrx/Subscription;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 5
|
|
|
|
const/16 v0, 0xc
|
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v1, Lj0/o/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
invoke-static {v2}, Lj0/o/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/s/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "root"
|
|
|
|
const-string v4, "getRoot()Landroid/view/ViewGroup;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lj0/o/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lj0/o/c/s;->property1(Lj0/o/c/p;)Lj0/s/d;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lj0/o/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
invoke-static {v2}, Lj0/o/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/s/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "title"
|
|
|
|
const-string v4, "getTitle()Landroid/widget/TextView;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lj0/o/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lj0/o/c/s;->property1(Lj0/o/c/p;)Lj0/s/d;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lj0/o/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
invoke-static {v2}, Lj0/o/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/s/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "subtitle"
|
|
|
|
const-string v4, "getSubtitle()Landroid/widget/TextView;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lj0/o/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lj0/o/c/s;->property1(Lj0/o/c/p;)Lj0/s/d;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lj0/o/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
invoke-static {v2}, Lj0/o/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/s/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "participantsRecycler"
|
|
|
|
const-string v4, "getParticipantsRecycler()Landroidx/recyclerview/widget/RecyclerView;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lj0/o/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lj0/o/c/s;->property1(Lj0/o/c/p;)Lj0/s/d;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lj0/o/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
invoke-static {v2}, Lj0/o/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/s/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "emptyStateContainer"
|
|
|
|
const-string v4, "getEmptyStateContainer()Landroid/view/ViewGroup;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lj0/o/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lj0/o/c/s;->property1(Lj0/o/c/p;)Lj0/s/d;
|
|
|
|
const/4 v2, 0x4
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lj0/o/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
invoke-static {v2}, Lj0/o/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/s/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "connectContainer"
|
|
|
|
const-string v4, "getConnectContainer()Landroid/view/ViewGroup;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lj0/o/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lj0/o/c/s;->property1(Lj0/o/c/p;)Lj0/s/d;
|
|
|
|
const/4 v2, 0x5
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lj0/o/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
invoke-static {v2}, Lj0/o/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/s/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "connectBtn"
|
|
|
|
const-string v4, "getConnectBtn()Landroid/widget/Button;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lj0/o/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lj0/o/c/s;->property1(Lj0/o/c/p;)Lj0/s/d;
|
|
|
|
const/4 v2, 0x6
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lj0/o/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
invoke-static {v2}, Lj0/o/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/s/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "connectVideoBtn"
|
|
|
|
const-string v4, "getConnectVideoBtn()Landroid/widget/Button;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lj0/o/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lj0/o/c/s;->property1(Lj0/o/c/p;)Lj0/s/d;
|
|
|
|
const/4 v2, 0x7
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lj0/o/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
invoke-static {v2}, Lj0/o/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/s/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "controls"
|
|
|
|
const-string v4, "getControls()Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lj0/o/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lj0/o/c/s;->property1(Lj0/o/c/p;)Lj0/s/d;
|
|
|
|
const/16 v2, 0x8
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lj0/o/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
invoke-static {v2}, Lj0/o/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/s/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "headerInviteButton"
|
|
|
|
const-string v4, "getHeaderInviteButton()Landroid/view/View;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lj0/o/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lj0/o/c/s;->property1(Lj0/o/c/p;)Lj0/s/d;
|
|
|
|
const/16 v2, 0x9
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lj0/o/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
invoke-static {v2}, Lj0/o/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/s/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "headerNoiseCancellationButton"
|
|
|
|
const-string v4, "getHeaderNoiseCancellationButton()Landroid/widget/ImageView;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lj0/o/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lj0/o/c/s;->property1(Lj0/o/c/p;)Lj0/s/d;
|
|
|
|
const/16 v2, 0xa
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lj0/o/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
invoke-static {v2}, Lj0/o/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/s/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "headerSettingsButton"
|
|
|
|
const-string v4, "getHeaderSettingsButton()Landroid/view/View;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lj0/o/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lj0/o/c/s;->property1(Lj0/o/c/p;)Lj0/s/d;
|
|
|
|
const/16 v2, 0xb
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sput-object v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->Companion:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$Companion;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppBottomSheet;-><init>()V
|
|
|
|
const v0, 0x7f0a0a2a
|
|
|
|
invoke-static {p0, v0}, Lj0/f;->p(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->root$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0a27
|
|
|
|
invoke-static {p0, v0}, Lj0/f;->p(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->title$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0a26
|
|
|
|
invoke-static {p0, v0}, Lj0/f;->p(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->subtitle$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0a29
|
|
|
|
invoke-static {p0, v0}, Lj0/f;->p(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->participantsRecycler$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0a20
|
|
|
|
invoke-static {p0, v0}, Lj0/f;->p(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->emptyStateContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0a1e
|
|
|
|
invoke-static {p0, v0}, Lj0/f;->p(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->connectContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0a1d
|
|
|
|
invoke-static {p0, v0}, Lj0/f;->p(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->connectBtn$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0a28
|
|
|
|
invoke-static {p0, v0}, Lj0/f;->p(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->connectVideoBtn$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0a1f
|
|
|
|
invoke-static {p0, v0}, Lj0/f;->p(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->controls$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0a23
|
|
|
|
invoke-static {p0, v0}, Lj0/f;->p(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->headerInviteButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0a24
|
|
|
|
invoke-static {p0, v0}, Lj0/f;->p(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->headerNoiseCancellationButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0a25
|
|
|
|
invoke-static {p0, v0}, Lj0/f;->p(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->headerSettingsButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$onStreamPreviewClickedListener$1;->INSTANCE:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$onStreamPreviewClickedListener$1;
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->onStreamPreviewClickedListener:Lkotlin/jvm/functions/Function1;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$configureUI(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->configureUI(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getViewModel$p(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;)Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModel:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "viewModel"
|
|
|
|
invoke-static {p0}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getViewModelEventSubscription$p(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;)Lrx/Subscription;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModelEventSubscription:Lrx/Subscription;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$handleEvent(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->handleEvent(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$onStreamPreviewClicked(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;Lcom/discord/utilities/streams/StreamContext;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->onStreamPreviewClicked(Lcom/discord/utilities/streams/StreamContext;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$setViewModel$p(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModel:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$setViewModelEventSubscription$p(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;Lrx/Subscription;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModelEventSubscription:Lrx/Subscription;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final configureBottomContent(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent;)V
|
|
.locals 13
|
|
|
|
const v0, 0x7f040126
|
|
|
|
const/16 v1, 0x8
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getControls()Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getConnectContainer()Landroid/view/ViewGroup;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getRoot()Landroid/view/ViewGroup;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getRoot()Landroid/view/ViewGroup;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1, v0}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/view/View;I)I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->setBackgroundColor(I)V
|
|
|
|
goto/16 :goto_1
|
|
|
|
:cond_0
|
|
instance-of v2, p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent$Controls;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eqz v2, :cond_6
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getControls()Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getConnectContainer()Landroid/view/ViewGroup;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getControls()Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent$Controls;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent$Controls;->getInputMode()Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent$Controls;->getAudioDevicesState()Lcom/discord/stores/StoreAudioDevices$AudioDevicesState;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent$Controls;->isSelfMuted()Z
|
|
|
|
move-result v5
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent$Controls;->isSelfDeafened()Z
|
|
|
|
move-result v6
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent$Controls;->getCameraState()Lcom/discord/widgets/voice/model/CameraState;
|
|
|
|
move-result-object v7
|
|
|
|
new-instance v8, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$1;
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModel:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const-string v1, "viewModel"
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
invoke-direct {v8, p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$1;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;)V
|
|
|
|
new-instance v9, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$2;
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModel:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
invoke-direct {v9, p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$2;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;)V
|
|
|
|
new-instance v10, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$3;
|
|
|
|
invoke-direct {v10, p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$3;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;)V
|
|
|
|
new-instance v11, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$4;
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModel:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
invoke-direct {v11, p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$4;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;)V
|
|
|
|
new-instance v12, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$5;
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModel:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
invoke-direct {v12, p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$5;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;)V
|
|
|
|
invoke-virtual/range {v2 .. v12}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->configureUI(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;Lcom/discord/stores/StoreAudioDevices$AudioDevicesState;ZZLcom/discord/widgets/voice/model/CameraState;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getControls()Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$6;
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModel:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
invoke-direct {v2, v3}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$6;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;)V
|
|
|
|
invoke-virtual {p1, v2}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->setOnPttPressedListener(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getRoot()Landroid/view/ViewGroup;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getRoot()Landroid/view/ViewGroup;
|
|
|
|
move-result-object v0
|
|
|
|
const v1, 0x7f040127
|
|
|
|
invoke-static {v0, v1}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/view/View;I)I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->setBackgroundColor(I)V
|
|
|
|
goto/16 :goto_1
|
|
|
|
:cond_1
|
|
invoke-static {v1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
invoke-static {v1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_3
|
|
invoke-static {v1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_4
|
|
invoke-static {v1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_5
|
|
invoke-static {v1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_6
|
|
instance-of v2, p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent$Connect;
|
|
|
|
if-eqz v2, :cond_9
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getControls()Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v4, 0x4
|
|
|
|
invoke-virtual {v2, v4}, Landroid/widget/FrameLayout;->setVisibility(I)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getControls()Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->hidePtt()V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getConnectContainer()Landroid/view/ViewGroup;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2, v3}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
check-cast p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent$Connect;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent$Connect;->isConnectEnabled()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_7
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getConnectBtn()Landroid/widget/Button;
|
|
|
|
move-result-object v2
|
|
|
|
const v4, 0x7f120d4e
|
|
|
|
invoke-virtual {v2, v4}, Landroid/widget/Button;->setText(I)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getConnectBtn()Landroid/widget/Button;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v4, 0x1
|
|
|
|
invoke-virtual {v2, v4}, Landroid/widget/Button;->setEnabled(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_7
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getConnectBtn()Landroid/widget/Button;
|
|
|
|
move-result-object v2
|
|
|
|
const v4, 0x7f1203f8
|
|
|
|
invoke-virtual {v2, v4}, Landroid/widget/Button;->setText(I)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getConnectBtn()Landroid/widget/Button;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2, v3}, Landroid/widget/Button;->setEnabled(Z)V
|
|
|
|
:goto_0
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getConnectBtn()Landroid/widget/Button;
|
|
|
|
move-result-object v2
|
|
|
|
new-instance v4, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$7;
|
|
|
|
invoke-direct {v4, p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$7;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;)V
|
|
|
|
invoke-virtual {v2, v4}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getConnectVideoBtn()Landroid/widget/Button;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent$Connect;->isConnectEnabled()Z
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {v2, v4}, Landroid/widget/Button;->setEnabled(Z)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getConnectVideoBtn()Landroid/widget/Button;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent$Connect;->isCameraButtonVisible()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_8
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:cond_8
|
|
invoke-virtual {v2, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getConnectVideoBtn()Landroid/widget/Button;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$8;
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureBottomContent$8;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;)V
|
|
|
|
invoke-virtual {p1, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getRoot()Landroid/view/ViewGroup;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getRoot()Landroid/view/ViewGroup;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1, v0}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/view/View;I)I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->setBackgroundColor(I)V
|
|
|
|
:cond_9
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private final configureCenterContent(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$CenterContent;JLjava/lang/Long;)V
|
|
.locals 5
|
|
|
|
instance-of v0, p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$CenterContent$ListItems;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const-string v3, "participantsAdapter"
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getEmptyStateContainer()Landroid/view/ViewGroup;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v4, 0x4
|
|
|
|
invoke-virtual {v0, v4}, Landroid/view/ViewGroup;->setVisibility(I)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getParticipantsRecycler()Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->participantsAdapter:Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
check-cast p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$CenterContent$ListItems;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$CenterContent$ListItems;->getItems()Ljava/util/List;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;->setData(Ljava/util/List;)V
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->participantsAdapter:Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
new-instance v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureCenterContent$1;
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureCenterContent$1;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;)V
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;->setOnStreamPreviewClicked(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->participantsAdapter:Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureCenterContent$2;
|
|
|
|
invoke-direct {v0, p0, p2, p3, p4}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureCenterContent$2;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;JLjava/lang/Long;)V
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;->setOnVoiceUserClicked(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-static {v3}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
|
|
:cond_1
|
|
invoke-static {v3}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
|
|
:cond_2
|
|
invoke-static {v3}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
|
|
:cond_3
|
|
sget-object p2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$CenterContent$Empty;->INSTANCE:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$CenterContent$Empty;
|
|
|
|
invoke-static {p1, p2}, Lj0/o/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getEmptyStateContainer()Landroid/view/ViewGroup;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getParticipantsRecycler()Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
move-result-object p1
|
|
|
|
const/16 p2, 0x8
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->participantsAdapter:Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
sget-object p2, Lj0/j/n;->d:Lj0/j/n;
|
|
|
|
invoke-virtual {p1, p2}, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;->setData(Ljava/util/List;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
invoke-static {v3}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
|
|
:cond_5
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private final configureUI(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;)V
|
|
.locals 4
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getTitle()Landroid/widget/TextView;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;->getTitle()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getSubtitle()Landroid/widget/TextView;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;->getSubtitle()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setTextAndVisibilityBy(Landroid/widget/TextView;Ljava/lang/CharSequence;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getHeaderInviteButton()Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;->getCanInvite()Z
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/16 v3, 0x8
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/16 v1, 0x8
|
|
|
|
:goto_0
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getHeaderInviteButton()Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureUI$1;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureUI$1;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getHeaderSettingsButton()Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureUI$2;
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureUI$2;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getHeaderNoiseCancellationButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureUI$3;
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$configureUI$3;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;->isNoiseCancellationActive()Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;->isNoiseCancellationActive()Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
|
|
|
|
invoke-static {v0, v1}, Lj0/o/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getHeaderNoiseCancellationButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
const v1, 0x7f08037f
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getHeaderNoiseCancellationButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
const v1, 0x7f080380
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
:goto_1
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getHeaderNoiseCancellationButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getHeaderNoiseCancellationButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
:goto_2
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;->getCenterContent()Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$CenterContent;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;->getChannelId()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;->getGuildId()Ljava/lang/Long;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-direct {p0, v0, v1, v2, v3}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->configureCenterContent(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$CenterContent;JLjava/lang/Long;)V
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$ViewState;->getBottomContent()Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->configureBottomContent(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$BottomContent;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final getConnectBtn()Landroid/widget/Button;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->connectBtn$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x6
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/Button;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getConnectContainer()Landroid/view/ViewGroup;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->connectContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x5
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/ViewGroup;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getConnectVideoBtn()Landroid/widget/Button;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->connectVideoBtn$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x7
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/Button;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getControls()Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->controls$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/16 v2, 0x8
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getEmptyStateContainer()Landroid/view/ViewGroup;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->emptyStateContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x4
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/ViewGroup;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getHeaderInviteButton()Landroid/view/View;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->headerInviteButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/16 v2, 0x9
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getHeaderNoiseCancellationButton()Landroid/widget/ImageView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->headerNoiseCancellationButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/16 v2, 0xa
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getHeaderSettingsButton()Landroid/view/View;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->headerSettingsButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/16 v2, 0xb
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getParticipantsRecycler()Landroidx/recyclerview/widget/RecyclerView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->participantsRecycler$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getRoot()Landroid/view/ViewGroup;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->root$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/ViewGroup;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getSubtitle()Landroid/widget/TextView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->subtitle$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getTitle()Landroid/widget/TextView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->title$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final handleEvent(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event;)V
|
|
.locals 9
|
|
|
|
sget-object v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$ShowRequestCameraPermissionsDialog;->INSTANCE:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$ShowRequestCameraPermissionsDialog;
|
|
|
|
invoke-static {p1, v0}, Lj0/o/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
new-instance p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$handleEvent$1;
|
|
|
|
invoke-direct {p1, p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$handleEvent$1;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;)V
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/app/AppBottomSheet;->requestVideoCallPermissions(Lrx/functions/Action0;)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_0
|
|
instance-of v0, p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$ShowCameraCapacityDialog;
|
|
|
|
const-string v1, "parentFragmentManager"
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
sget-object v0, Lf/a/a/h;->g:Lf/a/a/h$a;
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getParentFragmentManager()Landroidx/fragment/app/FragmentManager;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2, v1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$ShowCameraCapacityDialog;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$ShowCameraCapacityDialog;->getGuildMaxVideoChannelUsers()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {v0, v2, p1}, Lf/a/a/h$a;->a(Landroidx/fragment/app/FragmentManager;I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
instance-of v0, p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$LaunchVideoCall;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModelEventSubscription:Lrx/Subscription;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
|
|
|
|
:cond_2
|
|
invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->dismiss()V
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;->Companion:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$Companion;
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v0, "requireContext()"
|
|
|
|
invoke-static {v2, v0}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$LaunchVideoCall;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$LaunchVideoCall;->getChannelId()J
|
|
|
|
move-result-wide v3
|
|
|
|
const/4 v5, 0x0
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$LaunchVideoCall;->getAutoTargetStreamKey()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
const/4 v7, 0x4
|
|
|
|
const/4 v8, 0x0
|
|
|
|
invoke-static/range {v1 .. v8}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$Companion;->launch$default(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$Companion;Landroid/content/Context;JZLjava/lang/String;ILjava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
sget-object v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$ShowGuildVideoAtCapacityDialog;->INSTANCE:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$ShowGuildVideoAtCapacityDialog;
|
|
|
|
invoke-static {p1, v0}, Lj0/o/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
sget-object p1, Lf/a/a/m;->f:Lf/a/a/m$a;
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getParentFragmentManager()Landroidx/fragment/app/FragmentManager;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, v1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, v0}, Lf/a/a/m$a;->a(Landroidx/fragment/app/FragmentManager;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
sget-object v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$ShowOverlayNux;->INSTANCE:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$ShowOverlayNux;
|
|
|
|
invoke-static {p1, v0}, Lj0/o/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
sget-object p1, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay;->Companion:Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay$Companion;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/notice/WidgetNoticeNuxOverlay$Companion;->enqueue()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
instance-of v0, p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$ShowToast;
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast p1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$ShowToast;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$ShowToast;->getToastResId()I
|
|
|
|
move-result p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/16 v3, 0xc
|
|
|
|
invoke-static {v0, p1, v1, v2, v3}, Lf/a/b/p;->j(Landroid/content/Context;IILcom/discord/utilities/view/ToastManager;I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_6
|
|
sget-object v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$Dismiss;->INSTANCE:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Event$Dismiss;
|
|
|
|
invoke-static {p1, v0}, Lj0/o/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_7
|
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->dismiss()V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:cond_7
|
|
new-instance p1, Lkotlin/NoWhenBranchMatchedException;
|
|
|
|
invoke-direct {p1}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method private final onStreamPreviewClicked(Lcom/discord/utilities/streams/StreamContext;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->featureContext:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$FeatureContext;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->dismiss()V
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->onStreamPreviewClickedListener:Lkotlin/jvm/functions/Function1;
|
|
|
|
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance p1, Lkotlin/NoWhenBranchMatchedException;
|
|
|
|
invoke-direct {p1}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
new-instance v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$onStreamPreviewClicked$1;
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$onStreamPreviewClicked$1;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;Lcom/discord/utilities/streams/StreamContext;)V
|
|
|
|
invoke-virtual {p0, v0}, Lcom/discord/app/AppBottomSheet;->requestMicrophone(Lrx/functions/Action0;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:cond_2
|
|
const-string p1, "featureContext"
|
|
|
|
invoke-static {p1}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getContentViewResId()I
|
|
.locals 1
|
|
|
|
const v0, 0x7f0d0294
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getOnStreamPreviewClickedListener()Lkotlin/jvm/functions/Function1;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Lcom/discord/utilities/streams/StreamContext;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->onStreamPreviewClickedListener:Lkotlin/jvm/functions/Function1;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
|
.locals 14
|
|
|
|
move-object v0, p0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireArguments()Landroid/os/Bundle;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "ARG_FEATURE_CONTEXT"
|
|
|
|
invoke-virtual {v1, v2}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
check-cast v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$FeatureContext;
|
|
|
|
iput-object v1, v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->featureContext:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$FeatureContext;
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireArguments()Landroid/os/Bundle;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
|
|
|
|
invoke-virtual {v1, v2}, Landroid/os/Bundle;->getLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v4
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireArguments()Landroid/os/Bundle;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "ARG_FORWARD_TO_FULLSCREEN_IF_VIDEO_ACTIVATED"
|
|
|
|
invoke-virtual {v1, v2}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z
|
|
|
|
move-result v6
|
|
|
|
new-instance v1, Landroidx/lifecycle/ViewModelProvider;
|
|
|
|
new-instance v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Factory;
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
const/4 v9, 0x0
|
|
|
|
const/4 v10, 0x0
|
|
|
|
const/4 v11, 0x0
|
|
|
|
const/16 v12, 0x7c
|
|
|
|
const/4 v13, 0x0
|
|
|
|
move-object v3, v2
|
|
|
|
invoke-direct/range {v3 .. v13}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel$Factory;-><init>(JZLcom/discord/stores/StoreExperiments;Lcom/discord/stores/StoreMediaSettings;Lcom/discord/stores/StoreVoiceChannelSelected;Lcom/discord/stores/StoreMediaEngine;Lcom/discord/stores/StoreUserSettings;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
invoke-direct {v1, p0, v2}, Landroidx/lifecycle/ViewModelProvider;-><init>(Landroidx/lifecycle/ViewModelStoreOwner;Landroidx/lifecycle/ViewModelProvider$Factory;)V
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
invoke-virtual {v1, v2}, Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "ViewModelProvider(\n \u2026eetViewModel::class.java)"
|
|
|
|
invoke-static {v1, v2}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast v1, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
iput-object v1, v0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModel:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
invoke-super/range {p0 .. p3}, Lcom/discord/app/AppBottomSheet;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
new-instance v1, Lkotlin/TypeCastException;
|
|
|
|
const-string v2, "null cannot be cast to non-null type com.discord.widgets.voice.sheet.WidgetVoiceBottomSheet.FeatureContext"
|
|
|
|
invoke-direct {v1, v2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
|
|
:cond_1
|
|
const-string v1, "inflater"
|
|
|
|
invoke-static {v1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public onResume()V
|
|
.locals 12
|
|
|
|
invoke-super {p0}, Lcom/discord/app/AppBottomSheet;->onResume()V
|
|
|
|
sget-object v0, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;->Companion:Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter$Companion;
|
|
|
|
new-instance v1, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getParticipantsRecycler()Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
invoke-direct {v1, v2, v3}, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;-><init>(Landroidx/recyclerview/widget/RecyclerView;Z)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter$Companion;->configure(Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;)Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->participantsAdapter:Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->getParticipantsRecycler()Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->setHasFixedSize(Z)V
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModel:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const-string v2, "viewModel"
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual {v0}, Lf/a/b/q0;->observeViewState()Lrx/Observable;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, p0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->bindToComponentLifecycle(Lrx/Observable;Lcom/discord/app/AppComponent;)Lrx/Observable;
|
|
|
|
move-result-object v3
|
|
|
|
const-class v4, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
new-instance v9, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$onResume$1;
|
|
|
|
invoke-direct {v9, p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$onResume$1;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;)V
|
|
|
|
const/16 v10, 0x1e
|
|
|
|
const/4 v11, 0x0
|
|
|
|
invoke-static/range {v3 .. v11}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->viewModel:Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheetViewModel;->observeEvents()Lrx/Observable;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, p0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->bindToComponentLifecycle(Lrx/Observable;Lcom/discord/app/AppComponent;)Lrx/Observable;
|
|
|
|
move-result-object v1
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
new-instance v7, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$onResume$2;
|
|
|
|
invoke-direct {v7, p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$onResume$2;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;)V
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
new-instance v4, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$onResume$3;
|
|
|
|
invoke-direct {v4, p0}, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet$onResume$3;-><init>(Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;)V
|
|
|
|
const/16 v8, 0x1a
|
|
|
|
const/4 v9, 0x0
|
|
|
|
invoke-static/range {v1 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-static {v2}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
|
|
:cond_1
|
|
invoke-static {v2}, Lj0/o/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-super {p0, p1, p2}, Lcom/discord/app/AppBottomSheet;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
|
|
|
const/4 p1, 0x3
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/app/AppBottomSheet;->setBottomSheetState(I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "view"
|
|
|
|
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final setOnStreamPreviewClickedListener(Lkotlin/jvm/functions/Function1;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Lcom/discord/utilities/streams/StreamContext;",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/sheet/WidgetVoiceBottomSheet;->onStreamPreviewClickedListener:Lkotlin/jvm/functions/Function1;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "<set-?>"
|
|
|
|
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|