apkfuckery/com.discord/smali/com/discord/stores/StoreStream$deferredInit$1$...

170 lines
4.4 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lcom/discord/stores/StoreStream$deferredInit$1$12;
.super Ljava/lang/Object;
.source "StoreStream.kt"
# interfaces
2020-09-15 23:42:43 +00:00
.implements Lt0/k/b;
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreStream$deferredInit$1;->invoke()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-15 23:42:43 +00:00
"<T:",
2020-05-17 12:40:10 +00:00
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
2020-09-15 23:42:43 +00:00
"Lt0/k/b<",
2020-09-09 19:21:20 +00:00
"Ljava/lang/Boolean;",
2020-09-15 23:42:43 +00:00
"Lrx/Observable<",
"+",
2020-09-09 19:21:20 +00:00
"Ljava/lang/Boolean;",
2020-09-15 23:42:43 +00:00
">;>;"
2020-05-17 12:40:10 +00:00
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/stores/StoreStream$deferredInit$1$12;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/stores/StoreStream$deferredInit$1$12;
invoke-direct {v0}, Lcom/discord/stores/StoreStream$deferredInit$1$12;-><init>()V
sput-object v0, Lcom/discord/stores/StoreStream$deferredInit$1$12;->INSTANCE:Lcom/discord/stores/StoreStream$deferredInit$1$12;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-09-15 23:42:43 +00:00
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Boolean;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreStream$deferredInit$1$12;->call(Ljava/lang/Boolean;)Lrx/Observable;
move-result-object p1
return-object p1
.end method
.method public final call(Ljava/lang/Boolean;)Lrx/Observable;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Boolean;",
")",
"Lrx/Observable<",
"+",
"Ljava/lang/Boolean;",
">;"
}
.end annotation
sget-object v0, Lcom/discord/stores/SlowTtiExperimentManager;->Companion:Lcom/discord/stores/SlowTtiExperimentManager$Companion;
invoke-virtual {v0}, Lcom/discord/stores/SlowTtiExperimentManager$Companion;->getINSTANCE()Lcom/discord/stores/SlowTtiExperimentManager;
2020-05-17 12:40:10 +00:00
2020-09-15 23:42:43 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-09-15 23:42:43 +00:00
invoke-virtual {v0}, Lcom/discord/stores/SlowTtiExperimentManager;->getExperimentStatus()Lcom/discord/stores/SlowTtiExperimentManager$ExperimentStatus;
move-result-object v0
const-string v1, "isInitialized"
invoke-static {p1, v1}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
2020-09-15 23:42:43 +00:00
move-result v1
2020-05-17 12:40:10 +00:00
2020-09-15 23:42:43 +00:00
if-eqz v1, :cond_1
2020-05-17 12:40:10 +00:00
2020-09-15 23:42:43 +00:00
instance-of v1, v0, Lcom/discord/stores/SlowTtiExperimentManager$ExperimentStatus$UserInExperiment;
2020-05-17 12:40:10 +00:00
2020-09-15 23:42:43 +00:00
if-eqz v1, :cond_1
2020-05-17 12:40:10 +00:00
2020-09-15 23:42:43 +00:00
check-cast v0, Lcom/discord/stores/SlowTtiExperimentManager$ExperimentStatus$UserInExperiment;
2020-05-17 12:40:10 +00:00
2020-09-15 23:42:43 +00:00
invoke-virtual {v0}, Lcom/discord/stores/SlowTtiExperimentManager$ExperimentStatus$UserInExperiment;->getBucket()I
2020-05-17 12:40:10 +00:00
2020-09-15 23:42:43 +00:00
move-result v1
2020-05-17 12:40:10 +00:00
2020-09-15 23:42:43 +00:00
invoke-virtual {v0}, Lcom/discord/stores/SlowTtiExperimentManager$ExperimentStatus$UserInExperiment;->getRevision()I
2020-05-17 12:40:10 +00:00
2020-09-15 23:42:43 +00:00
move-result v2
2020-05-17 12:40:10 +00:00
2020-09-15 23:42:43 +00:00
invoke-virtual {v0}, Lcom/discord/stores/SlowTtiExperimentManager$ExperimentStatus$UserInExperiment;->getPopulation()I
2020-05-17 12:40:10 +00:00
2020-09-15 23:42:43 +00:00
move-result v3
2020-09-09 19:21:20 +00:00
2020-09-15 23:42:43 +00:00
invoke-static {v1, v2, v3}, Lcom/discord/utilities/analytics/AnalyticsTracker;->ttiExperimentTriggered(III)V
2020-09-09 19:21:20 +00:00
2020-09-15 23:42:43 +00:00
invoke-virtual {v0}, Lcom/discord/stores/SlowTtiExperimentManager$ExperimentStatus$UserInExperiment;->getDelayMs()J
2020-09-09 19:21:20 +00:00
2020-09-15 23:42:43 +00:00
move-result-wide v0
2020-09-09 19:21:20 +00:00
2020-09-15 23:42:43 +00:00
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-lez v4, :cond_0
new-instance v2, Lt0/l/e/j;
invoke-direct {v2, p1}, Lt0/l/e/j;-><init>(Ljava/lang/Object;)V
2020-09-09 19:21:20 +00:00
2020-09-15 23:42:43 +00:00
sget-object p1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
2020-09-09 19:21:20 +00:00
2020-09-15 23:42:43 +00:00
invoke-virtual {v2, v0, v1, p1}, Lrx/Observable;->p(JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
2020-09-09 19:21:20 +00:00
move-result-object p1
2020-09-15 23:42:43 +00:00
goto :goto_1
:cond_0
new-instance v0, Lt0/l/e/j;
invoke-direct {v0, p1}, Lt0/l/e/j;-><init>(Ljava/lang/Object;)V
goto :goto_0
:cond_1
new-instance v0, Lt0/l/e/j;
invoke-direct {v0, p1}, Lt0/l/e/j;-><init>(Ljava/lang/Object;)V
:goto_0
move-object p1, v0
:goto_1
2020-09-09 19:21:20 +00:00
return-object p1
2020-05-17 12:40:10 +00:00
.end method