2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/stores/StoreAuthentication$init$1;
|
2020-10-05 23:18:16 +00:00
|
|
|
.super Lc0/n/c/k;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "StoreAuthentication.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2020-09-28 19:40:16 +00:00
|
|
|
.implements Lkotlin/jvm/functions/Function1;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/stores/StoreAuthentication;->init(Landroid/content/Context;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-10-05 23:18:16 +00:00
|
|
|
"Lc0/n/c/k;",
|
2020-09-28 19:40:16 +00:00
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Ljava/lang/Boolean;",
|
2020-09-28 19:40:16 +00:00
|
|
|
"Lkotlin/Unit;",
|
2020-05-17 12:40:10 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $context:Landroid/content/Context;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-09-28 19:40:16 +00:00
|
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
|
|
.locals 0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreAuthentication$init$1;->$context:Landroid/content/Context;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
const/4 p1, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {p0, p1}, Lc0/n/c/k;-><init>(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-09-28 19:40:16 +00:00
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
check-cast p1, Ljava/lang/Boolean;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreAuthentication$init$1;->invoke(Ljava/lang/Boolean;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
return-object p1
|
|
|
|
.end method
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
.method public final invoke(Ljava/lang/Boolean;)V
|
|
|
|
.locals 3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreAuthentication$init$1;->$context:Landroid/content/Context;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
new-instance v1, Landroid/content/Intent;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
const-string v2, "isLoggedIn"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {p1, v2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
move-result p1
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
if-eqz p1, :cond_0
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
const-string p1, "com.discord.broadcast.LOGGED_IN"
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
goto :goto_0
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p1, "com.discord.broadcast.LOGGED_OUT"
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-direct {v1, p1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
invoke-virtual {v0, v1}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-28 19:40:16 +00:00
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|