2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;
|
|
|
|
.super Lcom/discord/app/AppFragment;
|
|
|
|
.source "WidgetVoiceCallIncoming.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public callUsersAdapter:Lcom/discord/widgets/voice/call/PrivateCallUsersAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final callUsersRecycler$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final connectButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final connectText$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final connectVoiceOnlyText$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final declineButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final ringer:Lcom/discord/widgets/voice/call/WidgetVoiceCallIncomingRinger;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final statusPrimary$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final statusSecondary$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static constructor <clinit>()V
|
2019-08-30 20:04:20 +00:00
|
|
|
.locals 6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
new-instance v1, Lm/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v2, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {v2}, Lm/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lm/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v3, "callUsersRecycler"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v4, "getCallUsersRecycler()Landroidx/recyclerview/widget/RecyclerView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-direct {v1, v2, v3, v4}, Lm/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
sget-object v2, Lm/u/b/w;->a:Lm/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {v2, v1}, Lm/u/b/x;->property1(Lm/u/b/t;)Lm/y/d;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v1, v0, v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
new-instance v2, Lm/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {v3}, Lm/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lm/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "statusPrimary"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getStatusPrimary()Landroid/widget/TextView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lm/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
sget-object v3, Lm/u/b/w;->a:Lm/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {v3, v2}, Lm/u/b/x;->property1(Lm/u/b/t;)Lm/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
new-instance v2, Lm/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {v3}, Lm/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lm/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "statusSecondary"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getStatusSecondary()Landroid/widget/TextView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lm/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
sget-object v3, Lm/u/b/w;->a:Lm/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {v3, v2}, Lm/u/b/x;->property1(Lm/u/b/t;)Lm/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
new-instance v2, Lm/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {v3}, Lm/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lm/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "connectButton"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getConnectButton()Landroid/widget/ImageView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lm/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
sget-object v3, Lm/u/b/w;->a:Lm/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {v3, v2}, Lm/u/b/x;->property1(Lm/u/b/t;)Lm/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
new-instance v2, Lm/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {v3}, Lm/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lm/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "connectText"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getConnectText()Landroid/widget/TextView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lm/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
sget-object v3, Lm/u/b/w;->a:Lm/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {v3, v2}, Lm/u/b/x;->property1(Lm/u/b/t;)Lm/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
new-instance v2, Lm/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {v3}, Lm/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lm/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "declineButton"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getDeclineButton()Landroid/widget/ImageView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lm/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
sget-object v3, Lm/u/b/w;->a:Lm/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {v3, v2}, Lm/u/b/x;->property1(Lm/u/b/t;)Lm/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
new-instance v2, Lm/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {v3}, Lm/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lm/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v4, "connectVoiceOnlyText"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v5, "getConnectVoiceOnlyText()Landroid/widget/TextView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lm/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
sget-object v3, Lm/u/b/w;->a:Lm/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {v3, v2}, Lm/u/b/x;->property1(Lm/u/b/t;)Lm/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sput-object v0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const v0, 0x7f0a03bf
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->callUsersRecycler$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const v0, 0x7f0a03bc
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->statusPrimary$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const v0, 0x7f0a03bd
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->statusSecondary$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const v0, 0x7f0a03b5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->connectButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const v0, 0x7f0a03b7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->connectText$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const v0, 0x7f0a03b9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->declineButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const v0, 0x7f0a03b8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->connectVoiceOnlyText$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncomingRinger;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncomingRinger;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->ringer:Lcom/discord/widgets/voice/call/WidgetVoiceCallIncomingRinger;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$configureUI(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->configureUI(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$connect(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;Z)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->connect(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;Z)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$declineCall(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;J)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->declineCall(J)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final configureUI(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;)V
|
|
|
|
.locals 9
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;->getCallModel()Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object v1, v0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getAppActivity()Lcom/discord/app/AppActivity;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p1}, Landroid/app/Activity;->finish()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;->component1()Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;->component2()Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/widgets/voice/model/CallModel;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
|
|
|
|
|
|
|
move-result-wide v3
|
|
|
|
|
|
|
|
new-instance v5, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$configureUI$1;
|
|
|
|
|
|
|
|
invoke-direct {v5, p0, v3, v4}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$configureUI$1;-><init>(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;J)V
|
|
|
|
|
|
|
|
const/4 v6, 0x2
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
invoke-static {p0, v5, v7, v6, v0}, Lcom/discord/app/AppFragment;->setOnBackPressed$default(Lcom/discord/app/AppFragment;Lrx/functions/Func0;IILjava/lang/Object;)V
|
|
|
|
|
|
|
|
iget-object v5, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->ringer:Lcom/discord/widgets/voice/call/WidgetVoiceCallIncomingRinger;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
invoke-virtual {v5, v8}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncomingRinger;->start(Landroid/content/Context;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->getStatusPrimary()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/widgets/voice/model/CallModel;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
invoke-virtual {v8}, Lcom/discord/models/domain/ModelChannel;->isMultiUserDM()Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-eqz v8, :cond_3
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/widgets/voice/model/CallModel;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
invoke-virtual {v8}, Lcom/discord/models/domain/ModelChannel;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {v1}, Lcom/discord/widgets/voice/model/CallModel;->getDmRecipient()Lcom/discord/models/domain/ModelVoice$User;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
if-eqz v8, :cond_4
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-virtual {v8}, Lcom/discord/models/domain/ModelVoice$User;->getUser()Lcom/discord/models/domain/ModelUser;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
if-eqz v8, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {v8}, Lcom/discord/models/domain/ModelUser;->getUsername()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move-object v8, v0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {v5, v8}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->getStatusSecondary()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/widgets/voice/model/CallModel;->isVideoCall()Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-eqz v8, :cond_5
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const v8, 0x7f120a14
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_5
|
2019-12-20 07:00:35 +00:00
|
|
|
const v8, 0x7f120a0f
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_2
|
|
|
|
invoke-virtual {v5, v8}, Landroid/widget/TextView;->setText(I)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->getConnectText()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/widgets/voice/model/CallModel;->isVideoCall()Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-eqz v8, :cond_6
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const v8, 0x7f121383
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_6
|
2019-12-20 07:00:35 +00:00
|
|
|
const v8, 0x7f121393
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_3
|
|
|
|
invoke-virtual {v5, v8}, Landroid/widget/TextView;->setText(I)V
|
|
|
|
|
|
|
|
iget-object v5, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->callUsersAdapter:Lcom/discord/widgets/voice/call/PrivateCallUsersAdapter;
|
|
|
|
|
|
|
|
if-eqz v5, :cond_7
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v5, v2}, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;->setData(Ljava/util/List;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_7
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->getConnectVoiceOnlyText()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/widgets/voice/model/CallModel;->isVideoCall()Z
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
invoke-static {v2, v5, v7, v6, v0}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->getConnectVoiceOnlyText()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v2, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$configureUI$2;
|
|
|
|
|
|
|
|
invoke-direct {v2, p0, p1}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$configureUI$2;-><init>(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->getConnectButton()Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v2, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$configureUI$3;
|
|
|
|
|
|
|
|
invoke-direct {v2, p0, p1, v1}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$configureUI$3;-><init>(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;Lcom/discord/widgets/voice/model/CallModel;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->getConnectButton()Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/widgets/voice/model/CallModel;->isVideoCall()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const v0, 0x7f0803e4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_8
|
2019-12-20 07:00:35 +00:00
|
|
|
const v0, 0x7f080314
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_4
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->getConnectButton()Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/widgets/voice/model/CallModel;->isVideoCall()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const v0, 0x7f12041b
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_9
|
2019-12-20 07:00:35 +00:00
|
|
|
const v0, 0x7f12041c
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_5
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0, v0}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->getDeclineButton()Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$configureUI$4;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0, v3, v4}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$configureUI$4;-><init>(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;J)V
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final connect(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;Z)V
|
2019-10-01 14:15:45 +00:00
|
|
|
.locals 9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;->getCallModel()Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
move-result-wide v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;->getNumIncomingCalls()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/call/WidgetPrivateCall;->Companion:Lcom/discord/widgets/voice/call/WidgetPrivateCall$Companion;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
const-string p1, "requireContext()"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {v6, p1}, Lm/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireFragmentManager()Landroidx/fragment/app/FragmentManager;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
const-string p1, "requireFragmentManager()"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {v8, p1}, Lm/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
move v4, p2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v5, p0
|
|
|
|
|
|
|
|
move-object v7, p0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual/range {v1 .. v8}, Lcom/discord/widgets/voice/call/WidgetPrivateCall$Companion;->callAndLaunch(JZLcom/discord/app/AppPermissions$Requests;Landroid/content/Context;Lcom/discord/app/AppComponent;Landroidx/fragment/app/FragmentManager;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getMediaEngine()Lcom/discord/stores/StoreMediaEngine;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-static {p1, p2, v0, p2}, Lcom/discord/stores/StoreMediaEngine;->selectDefaultVideoDevice$default(Lcom/discord/stores/StoreMediaEngine;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getVoiceChannelSelected()Lcom/discord/stores/StoreVoiceChannelSelected;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {p1, v2, v3}, Lcom/discord/stores/StoreVoiceChannelSelected;->set(J)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final declineCall(J)V
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getCalls()Lcom/discord/stores/StoreCalls;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x2
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
move-wide v2, p1
|
|
|
|
|
|
|
|
invoke-static/range {v1 .. v6}, Lcom/discord/stores/StoreCalls;->stopRinging$default(Lcom/discord/stores/StoreCalls;JLjava/util/List;ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getCallUsersRecycler()Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->callUsersRecycler$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->$$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, Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getConnectButton()Landroid/widget/ImageView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->connectButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->$$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, Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getConnectText()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->connectText$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->$$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/widget/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getConnectVoiceOnlyText()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->connectVoiceOnlyText$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->$$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/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getDeclineButton()Landroid/widget/ImageView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->declineButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->$$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/widget/ImageView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getStatusPrimary()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->statusPrimary$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->$$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 getStatusSecondary()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->statusSecondary$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->$$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
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public getContentViewResId()I
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const v0, 0x7f0d0200
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public onActivityCreated(Landroid/os/Bundle;)V
|
|
|
|
.locals 0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onActivityCreated(Landroid/os/Bundle;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
const p1, 0x7f060080
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p0, p1}, Lcom/discord/utilities/color/ColorCompat;->setStatusBarColorResourceId(Landroidx/fragment/app/Fragment;I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public onStop()V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->ringer:Lcom/discord/widgets/voice/call/WidgetVoiceCallIncomingRinger;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncomingRinger;->stop()V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onStop()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public onViewBound(Landroid/view/View;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppFragment;->onViewBound(Landroid/view/View;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->getCallUsersRecycler()Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/voice/call/PrivateCallUsersAdapter;
|
|
|
|
|
|
|
|
invoke-direct {v0, p1}, Lcom/discord/widgets/voice/call/PrivateCallUsersAdapter;-><init>(Landroidx/recyclerview/widget/RecyclerView;)V
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->callUsersAdapter:Lcom/discord/widgets/voice/call/PrivateCallUsersAdapter;
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setHasFixedSize(Z)V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;->callUsersAdapter:Lcom/discord/widgets/voice/call/PrivateCallUsersAdapter;
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
|
|
|
|
|
|
|
|
return-void
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "view"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public onViewBoundOrOnResume()V
|
|
|
|
.locals 12
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-super {p0}, Lcom/discord/app/AppFragment;->onViewBoundOrOnResume()V
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model;->Companion:Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$Model$Companion;->get()Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v2, 0x2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {v0, p0, v1, v2, v1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v4, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v9, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$onViewBoundOrOnResume$1;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v9, p0}, Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming$onViewBoundOrOnResume$1;-><init>(Lcom/discord/widgets/voice/call/WidgetVoiceCallIncoming;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v5, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/16 v10, 0x1e
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v11, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
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
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|