97 lines
3.1 KiB
Smali
97 lines
3.1 KiB
Smali
.class final Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung$onActivityResult$isCaptchaHandled$1;
|
|
.super Lkotlin/jvm/internal/l;
|
|
.source "WidgetOauthAuthorizeSamsung.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung;->onActivityResult(IILandroid/content/Intent;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/internal/l;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Ljava/lang/String;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung$onActivityResult$isCaptchaHandled$1;->this$0:Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/l;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung$onActivityResult$isCaptchaHandled$1;->invoke(Ljava/lang/String;)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->bjG:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final invoke(Ljava/lang/String;)V
|
|
.locals 3
|
|
|
|
const-string v0, "captchaKey"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung$onActivityResult$isCaptchaHandled$1;->this$0:Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung;
|
|
|
|
invoke-static {v0}, Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung;->access$getSamsungAuthCode$p(Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung$onActivityResult$isCaptchaHandled$1;->this$0:Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung;
|
|
|
|
invoke-static {v1, v0, p1}, Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung;->access$authorizeForSamsung(Lcom/discord/widgets/auth/WidgetOauthAuthorizeSamsung;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
:cond_0
|
|
sget-object p1, Lcom/discord/app/AppLog;->uC:Lcom/discord/app/AppLog;
|
|
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const-string v2, "Samsung auth code not set"
|
|
|
|
invoke-static {p1, v2, v1, v0, v1}, Lcom/discord/utilities/logging/Logger;->w$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->bjG:Lkotlin/Unit;
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|