2020-07-08 16:44:49 +00:00
|
|
|
.class public final Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$Factory;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "WidgetCallFullscreenViewModel.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Landroidx/lifecycle/ViewModelProvider$Factory;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "Factory"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final channelId:J
|
|
|
|
|
|
|
|
.field public final streamKey:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(JLjava/lang/String;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-wide p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$Factory;->channelId:J
|
|
|
|
|
|
|
|
iput-object p3, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$Factory;->streamKey:Ljava/lang/String;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public create(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
2020-08-10 21:02:22 +00:00
|
|
|
.locals 18
|
2020-07-08 16:44:49 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Landroidx/lifecycle/ViewModel;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Class<",
|
|
|
|
"TT;>;)TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
move-object/from16 v0, p0
|
2020-08-08 02:55:33 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
if-eqz p1, :cond_0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
new-instance v17, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
iget-wide v2, v0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$Factory;->channelId:J
|
2020-08-07 20:54:39 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2020-08-08 02:55:33 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getVoiceChannelSelected()Lcom/discord/stores/StoreVoiceChannelSelected;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getApplicationStreaming()Lcom/discord/stores/StoreApplicationStreaming;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getMediaEngine()Lcom/discord/stores/StoreMediaEngine;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2020-08-08 01:54:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getMediaSettings()Lcom/discord/stores/StoreMediaSettings;
|
|
|
|
|
|
|
|
move-result-object v8
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
const/4 v9, 0x0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
invoke-static {}, Lcom/discord/utilities/time/ClockFactory;->get()Lcom/discord/utilities/time/Clock;
|
|
|
|
|
|
|
|
move-result-object v11
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
const/4 v12, 0x0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
const/4 v13, 0x0
|
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
iget-object v14, v0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$Factory;->streamKey:Ljava/lang/String;
|
|
|
|
|
|
|
|
const/16 v15, 0x6c0
|
|
|
|
|
|
|
|
const/16 v16, 0x0
|
|
|
|
|
|
|
|
move-object/from16 v1, v17
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
invoke-direct/range {v1 .. v16}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel;-><init>(JLcom/discord/stores/StoreVoiceChannelSelected;Lcom/discord/stores/StoreUserSettings;Lcom/discord/stores/StoreApplicationStreaming;Lcom/discord/stores/StoreMediaEngine;Lcom/discord/stores/StoreMediaSettings;Lcom/discord/stores/StoreExperiments;Lcom/discord/stores/StorePermissions;Lcom/discord/utilities/time/Clock;Lrx/Scheduler;Lcom/discord/utilities/permissions/VideoPermissionsManager;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
return-object v17
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-08-10 21:02:22 +00:00
|
|
|
const-string v1, "modelClass"
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
invoke-static {v1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
const/4 v1, 0x0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
throw v1
|
2020-07-08 16:44:49 +00:00
|
|
|
.end method
|