2019-12-06 03:29:40 +00:00
|
|
|
.class public final Lcom/discord/stores/StoreAuthentication$register$2;
|
2019-08-14 23:59:34 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "StoreAuthentication.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lrx/functions/Action1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/stores/StoreAuthentication;->register(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Lrx/Observable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
2019-12-06 03:29:40 +00:00
|
|
|
accessFlags = 0x19
|
2019-08-14 23:59:34 +00:00
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Lrx/functions/Action1<",
|
|
|
|
"Lcom/discord/models/domain/ModelUser$Token;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreAuthentication;
|
2019-08-14 23:59:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>(Lcom/discord/stores/StoreAuthentication;)V
|
2019-08-14 23:59:34 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreAuthentication$register$2;->this$0:Lcom/discord/stores/StoreAuthentication;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final call(Lcom/discord/models/domain/ModelUser$Token;)V
|
|
|
|
.locals 11
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreAuthentication$register$2;->this$0:Lcom/discord/stores/StoreAuthentication;
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2, v1}, Lcom/discord/stores/StoreAuthentication;->setFingerprint(Ljava/lang/String;Z)V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreAuthentication$register$2;->this$0:Lcom/discord/stores/StoreAuthentication;
|
|
|
|
|
|
|
|
const-string v3, "token"
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-static {p1, v3}, Lm/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-14 23:59:34 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser$Token;->getToken()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/stores/StoreAuthentication;->setAuthed(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getExperiments()Lcom/discord/stores/StoreExperiments;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "2018-11_android_inapp_v2"
|
|
|
|
|
|
|
|
const/4 v3, 0x2
|
|
|
|
|
|
|
|
invoke-static {p1, v0, v2, v3, v2}, Lcom/discord/stores/StoreExperiments;->getExperimentAndStaff$default(Lcom/discord/stores/StoreExperiments;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const-wide/16 v5, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x3
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
invoke-static/range {v4 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreAuthentication$register$2$1;->INSTANCE:Lcom/discord/stores/StoreAuthentication$register$2$1;
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-virtual {p1, v0}, Lrx/Observable;->c(Lu/l/i;)Lrx/Observable;
|
2019-08-14 23:59:34 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "StoreStream\n \u2026ntAndStaff.isEnabled(1) }"
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-static {p1, v0}, Lm/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-14 23:59:34 +00:00
|
|
|
|
|
|
|
invoke-static {p1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v6, Lcom/discord/stores/StoreAuthentication$register$2$2;->INSTANCE:Lcom/discord/stores/StoreAuthentication$register$2$2;
|
2019-08-14 23:59:34 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const-string v4, "2018-11_android_inapp_v2"
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
const/16 v9, 0x35
|
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
|
|
|
invoke-static/range {v2 .. v10}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getNux()Lcom/discord/stores/StoreNux;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, Lcom/discord/stores/StoreNux;->setFirstOpen(Z)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public bridge synthetic call(Ljava/lang/Object;)V
|
2019-08-14 23:59:34 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelUser$Token;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreAuthentication$register$2;->call(Lcom/discord/models/domain/ModelUser$Token;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|