127 lines
4.4 KiB
Smali
127 lines
4.4 KiB
Smali
.class public final Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1$2;
|
|
.super Ljava/lang/Object;
|
|
.source "StoreChannelsSelected.kt"
|
|
|
|
# interfaces
|
|
.implements Le0/l/i;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1;->call(Ljava/lang/Long;)Lrx/Observable;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Le0/l/i<",
|
|
"TT;",
|
|
"Lrx/Observable<",
|
|
"+TR;>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $selectedGuildId:Ljava/lang/Long;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1;Ljava/lang/Long;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1$2;->this$0:Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1;
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1$2;->$selectedGuildId:Ljava/lang/Long;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/lang/Long;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1$2;->call(Ljava/lang/Long;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final call(Ljava/lang/Long;)Lrx/Observable;
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Long;",
|
|
")",
|
|
"Lrx/Observable<",
|
|
"Lcom/discord/stores/StoreChannelsSelected$Selected;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1$2;->this$0:Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1;
|
|
|
|
iget-object v0, v0, Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1;->this$0:Lcom/discord/stores/StoreChannelsSelected;
|
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreChannelsSelected;->access$getStream$p(Lcom/discord/stores/StoreChannelsSelected;)Lcom/discord/stores/StoreStream;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream;->getChannels$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreChannels;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreChannels;->get()Lrx/Observable;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1$2;->this$0:Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1;
|
|
|
|
iget-object v0, v0, Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1;->this$0:Lcom/discord/stores/StoreChannelsSelected;
|
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreChannelsSelected;->access$getStream$p(Lcom/discord/stores/StoreChannelsSelected;)Lcom/discord/stores/StoreStream;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream;->getPermissions$app_productionDiscordExternalRelease()Lcom/discord/stores/StorePermissions;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StorePermissions;->getForChannels()Lrx/Observable;
|
|
|
|
move-result-object v2
|
|
|
|
new-instance v3, Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1$2$1;
|
|
|
|
invoke-direct {v3, p0, p1}, Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1$2$1;-><init>(Lcom/discord/stores/StoreChannelsSelected$computeSelectedChannelId$1$2;Ljava/lang/Long;)V
|
|
|
|
sget-object v6, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
const-wide/16 v4, 0x1
|
|
|
|
invoke-static/range {v1 .. v6}, Lcom/discord/utilities/rx/ObservableWithLeadingEdgeThrottle;->combineLatest(Lrx/Observable;Lrx/Observable;Lrx/functions/Func2;JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|