2019-10-01 14:15:45 +00:00
|
|
|
.class public final Lcom/discord/widgets/voice/model/CallModel$Companion;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "CallModel.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "Companion"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method private constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/model/CallModel$Companion;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.method public static final synthetic access$create(Lcom/discord/widgets/voice/model/CallModel$Companion;Lcom/discord/models/domain/ModelChannel;JJLcom/discord/stores/StoreMediaSettings$VoiceConfiguration;Ljava/util/Map;Ljava/lang/Integer;Ljava/util/List;Lco/discord/media_engine/VideoInputDeviceDescription;Z)Lcom/discord/widgets/voice/model/CallModel;
|
2019-10-01 14:15:45 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-direct/range {p0 .. p11}, Lcom/discord/widgets/voice/model/CallModel$Companion;->create(Lcom/discord/models/domain/ModelChannel;JJLcom/discord/stores/StoreMediaSettings$VoiceConfiguration;Ljava/util/Map;Ljava/lang/Integer;Ljava/util/List;Lco/discord/media_engine/VideoInputDeviceDescription;Z)Lcom/discord/widgets/voice/model/CallModel;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.method private final create(Lcom/discord/models/domain/ModelChannel;JJLcom/discord/stores/StoreMediaSettings$VoiceConfiguration;Ljava/util/Map;Ljava/lang/Integer;Ljava/util/List;Lco/discord/media_engine/VideoInputDeviceDescription;Z)Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
.locals 17
|
2019-10-01 14:15:45 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
|
|
"JJ",
|
|
|
|
"Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
"+",
|
|
|
|
"Lcom/discord/models/domain/ModelVoice$User;",
|
|
|
|
">;",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lco/discord/media_engine/VideoInputDeviceDescription;",
|
|
|
|
">;",
|
|
|
|
"Lco/discord/media_engine/VideoInputDeviceDescription;",
|
2019-10-03 02:31:26 +00:00
|
|
|
"Z)",
|
2019-10-01 14:15:45 +00:00
|
|
|
"Lcom/discord/widgets/voice/model/CallModel;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-interface/range {p7 .. p7}, Ljava/util/Map;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
const/4 v15, 0x0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-interface/range {p7 .. p7}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result v2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
if-eqz v2, :cond_2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object v2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
check-cast v2, Ljava/util/Map$Entry;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object v2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
check-cast v2, Lcom/discord/models/domain/ModelVoice$User;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelVoice$User;->isConnected()Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result v2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
if-eqz v2, :cond_1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
2019-10-03 02:31:26 +00:00
|
|
|
move v15, v1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
:goto_1
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
new-instance v2, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/models/domain/ModelChannel;->getType()I
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
if-eq v3, v4, :cond_7
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-interface/range {p7 .. p7}, Ljava/util/Map;->values()Ljava/util/Collection;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
check-cast v3, Ljava/lang/Iterable;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-interface {v3}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object v3
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
:goto_2
|
|
|
|
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
if-eqz v5, :cond_4
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
check-cast v5, Lcom/discord/models/domain/ModelVoice$User;
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v5}, Lcom/discord/models/domain/ModelVoice$User;->isConnected()Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result v6
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
if-eqz v6, :cond_3
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v0, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
goto :goto_2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
:cond_3
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v1, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
:cond_4
|
|
|
|
move-object v3, v0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
check-cast v3, Ljava/util/Collection;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-interface {v3}, Ljava/util/Collection;->isEmpty()Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
xor-int/2addr v3, v4
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
if-eqz v3, :cond_5
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/voice/fullscreen/CallParticipantsAdapter$ListItemHeader;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
const v4, 0x7f120995
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object v4
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-direct {v3, v4}, Lcom/discord/widgets/voice/fullscreen/CallParticipantsAdapter$ListItemHeader;-><init>(Ljava/lang/Integer;)V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-object v3, v0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
check-cast v3, Ljava/lang/Iterable;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-interface {v3}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object v3
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
:goto_3
|
|
|
|
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
if-eqz v4, :cond_5
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-object v5, v2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
check-cast v5, Ljava/util/Collection;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
check-cast v4, Lcom/discord/models/domain/ModelVoice$User;
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
new-instance v6, Lcom/discord/widgets/voice/fullscreen/CallParticipantsAdapter$ListItemVoiceUser;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-direct {v6, v4}, Lcom/discord/widgets/voice/fullscreen/CallParticipantsAdapter$ListItemVoiceUser;-><init>(Lcom/discord/models/domain/ModelVoice$User;)V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-interface {v5, v6}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
goto :goto_3
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
:cond_5
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/models/domain/ModelChannel;->getType()I
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result v3
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
const/4 v4, 0x2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
if-eq v3, v4, :cond_7
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result v3
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
if-nez v3, :cond_6
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result v0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
if-nez v0, :cond_6
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/voice/fullscreen/CallParticipantsAdapter$ListItemDivider;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-direct {v0}, Lcom/discord/widgets/voice/fullscreen/CallParticipantsAdapter$ListItemDivider;-><init>()V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
:cond_6
|
|
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result v0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
if-nez v0, :cond_7
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/voice/fullscreen/CallParticipantsAdapter$ListItemHeader;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
const v3, 0x7f120c24
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object v3
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-direct {v0, v3}, Lcom/discord/widgets/voice/fullscreen/CallParticipantsAdapter$ListItemHeader;-><init>(Ljava/lang/Integer;)V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
check-cast v1, Ljava/lang/Iterable;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object v0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
:goto_4
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result v1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
if-eqz v1, :cond_7
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object v1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-object v3, v2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
check-cast v3, Ljava/util/Collection;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
check-cast v1, Lcom/discord/models/domain/ModelVoice$User;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
new-instance v4, Lcom/discord/widgets/voice/fullscreen/CallParticipantsAdapter$ListItemVoiceUser;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-direct {v4, v1}, Lcom/discord/widgets/voice/fullscreen/CallParticipantsAdapter$ListItemVoiceUser;-><init>(Lcom/discord/models/domain/ModelVoice$User;)V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-interface {v3, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
goto :goto_4
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
:cond_7
|
|
|
|
new-instance v0, Lcom/discord/widgets/voice/model/CallModel;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-object v3, v2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
check-cast v3, Ljava/util/List;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual/range {p6 .. p6}, Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;->getInputMode()Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object v13
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual/range {p6 .. p6}, Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;->getOutputMode()Lcom/discord/models/domain/ModelVoice$OutputMode;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object v14
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-object v2, v0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-object/from16 v4, p7
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-wide/from16 v5, p2
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-wide/from16 v7, p4
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-object/from16 v9, p9
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-object/from16 v10, p10
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move/from16 v11, p11
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-object/from16 v12, p1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-object/from16 v16, p8
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-direct/range {v2 .. v16}, Lcom/discord/widgets/voice/model/CallModel;-><init>(Ljava/util/List;Ljava/util/Map;JJLjava/util/List;Lco/discord/media_engine/VideoInputDeviceDescription;ZLcom/discord/models/domain/ModelChannel;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;Lcom/discord/models/domain/ModelVoice$OutputMode;ILjava/lang/Integer;)V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
return-object v0
|
2019-10-01 14:15:45 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-10-03 02:31:26 +00:00
|
|
|
.method public final get(J)Lrx/Observable;
|
2019-10-01 14:15:45 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-10-03 02:31:26 +00:00
|
|
|
"(J)",
|
2019-10-01 14:15:45 +00:00
|
|
|
"Lrx/Observable<",
|
|
|
|
"Lcom/discord/widgets/voice/model/CallModel;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getChannels()Lcom/discord/stores/StoreChannels;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p2}, Lcom/discord/stores/StoreChannels;->get(J)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v1, Lcom/discord/widgets/voice/model/CallModel$Companion$get$1;
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-direct {v1, p1, p2}, Lcom/discord/widgets/voice/model/CallModel$Companion$get$1;-><init>(J)V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
check-cast v1, Lrx/functions/b;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lrx/Observable;->g(Lrx/functions/b;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "StoreStream\n .g\u2026 }\n }"
|
|
|
|
|
|
|
|
invoke-static {p1, p2}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {p1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
invoke-virtual {p1}, Lrx/Observable;->HJ()Lrx/Observable;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "StoreStream\n .g\u2026 .distinctUntilChanged()"
|
|
|
|
|
|
|
|
invoke-static {p1, p2}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|