2019-12-21 01:41:59 +00:00
|
|
|
.class public final Lcom/discord/utilities/streams/StreamContextService;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "StreamContextService.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final applicationStreamPreviewStore:Lcom/discord/stores/StoreApplicationStreamPreviews;
|
|
|
|
|
|
|
|
.field public final applicationStreamingStore:Lcom/discord/stores/StoreApplicationStreaming;
|
|
|
|
|
|
|
|
.field public final channelStore:Lcom/discord/stores/StoreChannels;
|
|
|
|
|
|
|
|
.field public final guildStore:Lcom/discord/stores/StoreGuilds;
|
|
|
|
|
|
|
|
.field public final permissionsStore:Lcom/discord/stores/StorePermissions;
|
|
|
|
|
|
|
|
.field public final userStore:Lcom/discord/stores/StoreUser;
|
|
|
|
|
|
|
|
.field public final voiceStateStore:Lcom/discord/stores/StoreVoiceStates;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 10
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/16 v8, 0x7f
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
invoke-direct/range {v0 .. v9}, Lcom/discord/utilities/streams/StreamContextService;-><init>(Lcom/discord/stores/StoreApplicationStreaming;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StorePermissions;Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreVoiceStates;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreApplicationStreamPreviews;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Lcom/discord/stores/StoreApplicationStreaming;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StorePermissions;Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreVoiceStates;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreApplicationStreamPreviews;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
|
|
|
|
if-eqz p3, :cond_4
|
|
|
|
|
|
|
|
if-eqz p4, :cond_3
|
|
|
|
|
|
|
|
if-eqz p5, :cond_2
|
|
|
|
|
|
|
|
if-eqz p6, :cond_1
|
|
|
|
|
|
|
|
if-eqz p7, :cond_0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/utilities/streams/StreamContextService;->applicationStreamingStore:Lcom/discord/stores/StoreApplicationStreaming;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/utilities/streams/StreamContextService;->guildStore:Lcom/discord/stores/StoreGuilds;
|
|
|
|
|
|
|
|
iput-object p3, p0, Lcom/discord/utilities/streams/StreamContextService;->permissionsStore:Lcom/discord/stores/StorePermissions;
|
|
|
|
|
|
|
|
iput-object p4, p0, Lcom/discord/utilities/streams/StreamContextService;->userStore:Lcom/discord/stores/StoreUser;
|
|
|
|
|
|
|
|
iput-object p5, p0, Lcom/discord/utilities/streams/StreamContextService;->voiceStateStore:Lcom/discord/stores/StoreVoiceStates;
|
|
|
|
|
|
|
|
iput-object p6, p0, Lcom/discord/utilities/streams/StreamContextService;->channelStore:Lcom/discord/stores/StoreChannels;
|
|
|
|
|
|
|
|
iput-object p7, p0, Lcom/discord/utilities/streams/StreamContextService;->applicationStreamPreviewStore:Lcom/discord/stores/StoreApplicationStreamPreviews;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "applicationStreamPreviewStore"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "channelStore"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p1, "voiceStateStore"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p1, "userStore"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p1, "permissionsStore"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p1, "guildStore"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
const-string p1, "applicationStreamingStore"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public synthetic constructor <init>(Lcom/discord/stores/StoreApplicationStreaming;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StorePermissions;Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreVoiceStates;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreApplicationStreamPreviews;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
and-int/lit8 p9, p8, 0x1
|
|
|
|
|
|
|
|
if-eqz p9, :cond_0
|
|
|
|
|
|
|
|
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getApplicationStreaming()Lcom/discord/stores/StoreApplicationStreaming;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p9, p8, 0x2
|
|
|
|
|
|
|
|
if-eqz p9, :cond_1
|
|
|
|
|
|
|
|
sget-object p2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Lcom/discord/stores/StoreStream$Companion;->getGuilds()Lcom/discord/stores/StoreGuilds;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-object p9, p2
|
|
|
|
|
|
|
|
and-int/lit8 p2, p8, 0x4
|
|
|
|
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
|
|
|
|
sget-object p2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Lcom/discord/stores/StoreStream$Companion;->getPermissions()Lcom/discord/stores/StorePermissions;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-object v0, p3
|
|
|
|
|
|
|
|
and-int/lit8 p2, p8, 0x8
|
|
|
|
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
|
|
|
|
sget-object p2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Lcom/discord/stores/StoreStream$Companion;->getUsers()Lcom/discord/stores/StoreUser;
|
|
|
|
|
|
|
|
move-result-object p4
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move-object v1, p4
|
|
|
|
|
|
|
|
and-int/lit8 p2, p8, 0x10
|
|
|
|
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
|
|
|
|
sget-object p2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Lcom/discord/stores/StoreStream$Companion;->getVoiceStates()Lcom/discord/stores/StoreVoiceStates;
|
|
|
|
|
|
|
|
move-result-object p5
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move-object v2, p5
|
|
|
|
|
|
|
|
and-int/lit8 p2, p8, 0x20
|
|
|
|
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
|
|
|
|
sget-object p2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Lcom/discord/stores/StoreStream$Companion;->getChannels()Lcom/discord/stores/StoreChannels;
|
|
|
|
|
|
|
|
move-result-object p6
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
move-object v3, p6
|
|
|
|
|
|
|
|
and-int/lit8 p2, p8, 0x40
|
|
|
|
|
|
|
|
if-eqz p2, :cond_6
|
|
|
|
|
|
|
|
sget-object p2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Lcom/discord/stores/StoreStream$Companion;->getApplicationStreamPreviews()Lcom/discord/stores/StoreApplicationStreamPreviews;
|
|
|
|
|
|
|
|
move-result-object p7
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
move-object v4, p7
|
|
|
|
|
|
|
|
move-object p2, p0
|
|
|
|
|
|
|
|
move-object p3, p1
|
|
|
|
|
|
|
|
move-object p4, p9
|
|
|
|
|
|
|
|
move-object p5, v0
|
|
|
|
|
|
|
|
move-object p6, v1
|
|
|
|
|
|
|
|
move-object p7, v2
|
|
|
|
|
|
|
|
move-object p8, v3
|
|
|
|
|
|
|
|
move-object p9, v4
|
|
|
|
|
|
|
|
invoke-direct/range {p2 .. p9}, Lcom/discord/utilities/streams/StreamContextService;-><init>(Lcom/discord/stores/StoreApplicationStreaming;Lcom/discord/stores/StoreGuilds;Lcom/discord/stores/StorePermissions;Lcom/discord/stores/StoreUser;Lcom/discord/stores/StoreVoiceStates;Lcom/discord/stores/StoreChannels;Lcom/discord/stores/StoreApplicationStreamPreviews;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getApplicationStreamPreviewStore$p(Lcom/discord/utilities/streams/StreamContextService;)Lcom/discord/stores/StoreApplicationStreamPreviews;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iget-object p0, p0, Lcom/discord/utilities/streams/StreamContextService;->applicationStreamPreviewStore:Lcom/discord/stores/StoreApplicationStreamPreviews;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getApplicationStreamingStore$p(Lcom/discord/utilities/streams/StreamContextService;)Lcom/discord/stores/StoreApplicationStreaming;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iget-object p0, p0, Lcom/discord/utilities/streams/StreamContextService;->applicationStreamingStore:Lcom/discord/stores/StoreApplicationStreaming;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getChannelStore$p(Lcom/discord/utilities/streams/StreamContextService;)Lcom/discord/stores/StoreChannels;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iget-object p0, p0, Lcom/discord/utilities/streams/StreamContextService;->channelStore:Lcom/discord/stores/StoreChannels;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getGuildStore$p(Lcom/discord/utilities/streams/StreamContextService;)Lcom/discord/stores/StoreGuilds;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iget-object p0, p0, Lcom/discord/utilities/streams/StreamContextService;->guildStore:Lcom/discord/stores/StoreGuilds;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getPermissionsStore$p(Lcom/discord/utilities/streams/StreamContextService;)Lcom/discord/stores/StorePermissions;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iget-object p0, p0, Lcom/discord/utilities/streams/StreamContextService;->permissionsStore:Lcom/discord/stores/StorePermissions;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getPreviewObservable(Lcom/discord/utilities/streams/StreamContextService;Lcom/discord/models/domain/ModelApplicationStream;ZLcom/discord/stores/StoreApplicationStreamPreviews;)Lrx/Observable;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/discord/utilities/streams/StreamContextService;->getPreviewObservable(Lcom/discord/models/domain/ModelApplicationStream;ZLcom/discord/stores/StoreApplicationStreamPreviews;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getUserStore$p(Lcom/discord/utilities/streams/StreamContextService;)Lcom/discord/stores/StoreUser;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iget-object p0, p0, Lcom/discord/utilities/streams/StreamContextService;->userStore:Lcom/discord/stores/StoreUser;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getVoiceStateStore$p(Lcom/discord/utilities/streams/StreamContextService;)Lcom/discord/stores/StoreVoiceStates;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iget-object p0, p0, Lcom/discord/utilities/streams/StreamContextService;->voiceStateStore:Lcom/discord/stores/StoreVoiceStates;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getPreviewObservable(Lcom/discord/models/domain/ModelApplicationStream;ZLcom/discord/stores/StoreApplicationStreamPreviews;)Lrx/Observable;
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/discord/models/domain/ModelApplicationStream;",
|
|
|
|
"Z",
|
|
|
|
"Lcom/discord/stores/StoreApplicationStreamPreviews;",
|
|
|
|
")",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"+",
|
|
|
|
"Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p3, p1}, Lcom/discord/stores/StoreApplicationStreamPreviews;->get(Lcom/discord/models/domain/ModelApplicationStream;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
new-instance p2, Le0/m/e/j;
|
2019-12-21 01:41:59 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-direct {p2, p1}, Le0/m/e/j;-><init>(Ljava/lang/Object;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
const-string p1, "Observable.just(null)"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p2, p1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
move-object p1, p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final getForActiveStream()Lrx/Observable;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"Lcom/discord/utilities/streams/StreamContext;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/streams/StreamContextService;->applicationStreamingStore:Lcom/discord/stores/StoreApplicationStreaming;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreApplicationStreaming;->getActiveStream()Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v1, Lcom/discord/utilities/streams/StreamContextService$getForActiveStream$1;
|
|
|
|
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/utilities/streams/StreamContextService$getForActiveStream$1;-><init>(Lcom/discord/utilities/streams/StreamContextService;)V
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-virtual {v0, v1}, Lrx/Observable;->k(Le0/l/i;)Lrx/Observable;
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "applicationStreamingStor\u2026 )\n }\n }"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getForAllStreamingUsers()Lrx/Observable;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
"Lcom/discord/utilities/streams/StreamContext;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/streams/StreamContextService;->applicationStreamingStore:Lcom/discord/stores/StoreApplicationStreaming;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreApplicationStreaming;->getStreamsByUser()Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/utilities/streams/StreamContextService$getForAllStreamingUsers$1;->INSTANCE:Lcom/discord/utilities/streams/StreamContextService$getForAllStreamingUsers$1;
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-virtual {v0, v1}, Lrx/Observable;->f(Le0/l/i;)Lrx/Observable;
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v1, Lcom/discord/utilities/streams/StreamContextService$getForAllStreamingUsers$2;
|
|
|
|
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/utilities/streams/StreamContextService$getForAllStreamingUsers$2;-><init>(Lcom/discord/utilities/streams/StreamContextService;)V
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-virtual {v0, v1}, Lrx/Observable;->k(Le0/l/i;)Lrx/Observable;
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "applicationStreamingStor\u2026 }\n }\n }"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getForUser(JZ)Lrx/Observable;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(JZ)",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"Lcom/discord/utilities/streams/StreamContext;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/streams/StreamContextService;->applicationStreamingStore:Lcom/discord/stores/StoreApplicationStreaming;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p2}, Lcom/discord/stores/StoreApplicationStreaming;->getStreamsForUser(J)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v1, Lcom/discord/utilities/streams/StreamContextService$getForUser$1;
|
|
|
|
|
|
|
|
invoke-direct {v1, p0, p3, p1, p2}, Lcom/discord/utilities/streams/StreamContextService$getForUser$1;-><init>(Lcom/discord/utilities/streams/StreamContextService;ZJ)V
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-virtual {v0, v1}, Lrx/Observable;->k(Le0/l/i;)Lrx/Observable;
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "applicationStreamingStor\u2026 }\n }\n }"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1, p2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-21 01:41:59 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|