2020-05-11 19:22:21 +00:00
|
|
|
.class public final Lf/a/b/i;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-04-07 08:23:55 +00:00
|
|
|
.source "AppState.kt"
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2020-04-07 08:23:55 +00:00
|
|
|
.field public static final a:Ljava/util/ArrayList;
|
2019-12-06 03:29:40 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-04-07 08:23:55 +00:00
|
|
|
"Ljava/util/ArrayList<",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;"
|
2019-12-06 03:29:40 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
.field public static final b:Lrx/subjects/BehaviorSubject;
|
2019-12-06 03:29:40 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-04-07 08:23:55 +00:00
|
|
|
"Lrx/subjects/BehaviorSubject<",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
">;"
|
2019-12-06 03:29:40 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
.field public static final c:Lf/a/b/i;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
2020-04-07 08:23:55 +00:00
|
|
|
.locals 2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
new-instance v0, Lf/a/b/i;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-direct {v0}, Lf/a/b/i;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sput-object v0, Lf/a/b/i;->c:Lf/a/b/i;
|
2020-03-02 06:11:59 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
const/4 v1, 0x4
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sput-object v0, Lf/a/b/i;->a:Ljava/util/ArrayList;
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
const/4 v0, 0x0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {v0}, Lrx/subjects/BehaviorSubject;->a(Ljava/lang/Object;)Lrx/subjects/BehaviorSubject;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sput-object v0, Lf/a/b/i;->b:Lrx/subjects/BehaviorSubject;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
# virtual methods
|
|
|
|
.method public final a()Lrx/Observable;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-04-07 08:23:55 +00:00
|
|
|
"()",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"Ljava/lang/Boolean;",
|
|
|
|
">;"
|
2019-12-06 03:29:40 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sget-object v0, Lf/a/b/i;->b:Lrx/subjects/BehaviorSubject;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sget-object v1, Lf/a/b/i$a;->d:Lf/a/b/i$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-virtual {v0, v1}, Lrx/Observable;->f(Lg0/l/i;)Lrx/Observable;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-virtual {v0}, Lrx/Observable;->a()Lrx/Observable;
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
move-result-object v0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
const-string v1, "numGatewayConnectionCons\u2026 .distinctUntilChanged()"
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {v0, v1}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
return-object v0
|
2020-03-02 23:12:43 +00:00
|
|
|
.end method
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
.method public final declared-synchronized a(Ljava/lang/Object;)V
|
|
|
|
.locals 4
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
monitor-enter p0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
:try_start_0
|
|
|
|
const-string v0, "consumer"
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-02 23:12:43 +00:00
|
|
|
const/4 v1, 0x0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sget-object v0, Lf/a/b/i;->a:Ljava/util/ArrayList;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-interface {v0, p1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
sget-object v0, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
const-string v3, "Gateway Connection consumer add "
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-02 23:12:43 +00:00
|
|
|
move-result-object p1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
const/4 v2, 0x2
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {v0, p1, v1, v2, v1}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sget-object p1, Lf/a/b/i;->b:Lrx/subjects/BehaviorSubject;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sget-object v0, Lf/a/b/i;->a:Ljava/util/ArrayList;
|
2020-03-02 06:11:59 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
2020-03-02 06:11:59 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
move-result v0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
move-result-object v0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-virtual {p1, v0}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
monitor-exit p0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2020-04-07 08:23:55 +00:00
|
|
|
:try_start_1
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {v0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-04-07 08:23:55 +00:00
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
throw v1
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
monitor-exit p0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
throw p1
|
|
|
|
.end method
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
.method public final declared-synchronized b(Ljava/lang/Object;)V
|
|
|
|
.locals 4
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
monitor-enter p0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
:try_start_0
|
|
|
|
const-string v0, "consumer"
|
2020-03-02 06:11:59 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
const/4 v1, 0x0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
if-eqz p1, :cond_0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sget-object v0, Lf/a/b/i;->a:Ljava/util/ArrayList;
|
2020-03-02 06:11:59 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-interface {v0, p1}, Ljava/util/Collection;->remove(Ljava/lang/Object;)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
sget-object v0, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
const-string v3, "Gateway Connection consumer rm "
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
move-result-object p1
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
const/4 v2, 0x2
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {v0, p1, v1, v2, v1}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sget-object p1, Lf/a/b/i;->b:Lrx/subjects/BehaviorSubject;
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sget-object v0, Lf/a/b/i;->a:Ljava/util/ArrayList;
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
2020-03-03 02:12:30 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
move-result-object v0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-virtual {p1, v0}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
monitor-exit p0
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
return-void
|
2020-03-03 02:12:30 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
2020-04-07 08:23:55 +00:00
|
|
|
:try_start_1
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {v0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-04-07 08:23:55 +00:00
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
throw v1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
monitor-exit p0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|